Mutations
restoreProject
Restore a project in a hub.
Template for Mutation:
mutation RestoreProject($input: restoreProjectInput!){
restoreProject(input: $input) {
# RestoreProjectPayload Fields
}
}
Arguments
| input* restoreProjectInput non-null | Input for restoring a project in a hub. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| RestoreProjectPayload | Return payload for restoring a project operation. |
Examples
Example 1
Restore a archived project
Query:
mutation RestoreProject($input: RestoreProjectInput!) {
restoreProject(input: $input) {
project {
id
}
}
}
Query Variables:
{
"input": {
"projectId": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
}
Response:
{
"data": {
"restoreProject": {
"project": {
"id": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
}
}
}
Show More