Mutations
archiveProject
Archive a project in a hub.
Template for Mutation:
mutation ArchiveProject($input: archiveProjectInput!){
archiveProject(input: $input) {
# ArchiveProjectPayload Fields
}
}
Arguments
| input* archiveProjectInput non-null | Input for archiving a project in a hub. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| ArchiveProjectPayload | Return payload for archiving a project operation. |
Examples
Example 1
Achieve a active project
Query:
mutation ArchiveProject($input: ArchiveProjectInput!) {
archiveProject(input: $input) {
project {
id
}
}
}
Query Variables:
{
"input": {
"projectId": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
}
Response:
{
"data": {
"archiveProject": {
"project": {
"id": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
}
}
}
Show More