Mutations
archiveProject
Archive a project in a hub.
Template for Query:
mutation ArchiveProject($input: archiveProjectInput!){
archiveProject(input: $input) {
#ArchiveProject Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-ARCHIVEPROJECT-INPUT-TYPE-SCALAR-VALUE>"
}
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:a69a9462-c5a1-4525-927a-e6d088573529"
}
}
Response:
{
"data": {
"archiveProject": {
"project": {
"id": "urn:adsk.workspace:beta.project:a69a9462-c5a1-4525-927a-e6d088573529"
}
}
}
}
Show More