Mutations
deleteProject
Delete an archived project in a hub irreversibly.
Template for Mutation:
mutation DeleteProject($input: deleteProjectInput!){
deleteProject(input: $input) {
# DeleteProjectPayload Fields
}
}
Arguments
| input* deleteProjectInput non-null | Input for deleting a project in a hub. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| DeleteProjectPayload | Return payload for deleting a project operation. |
Examples
Example 1
Delete an archived project
Query:
mutation DeleteProject($input: DeleteProjectInput!) {
deleteProject(input: $input) {
projectId
}
}
Query Variables:
{
"input": {
"hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
"projectId": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
}
Response:
{
"data": {
"deleteProject": {
"projectId": "urn:adsk.workspace:beta.project:e0b62c50-ed1d-4322-a951-a05e2d75845a"
}
}
}