Mutations
updateGroup
Update group name and description.
Template for Mutation:
mutation UpdateGroup($input: updateGroupInput!){
updateGroup(input: $input) {
# UpdateGroupPayload Fields
}
}
Arguments
| input* updateGroupInput non-null | Input object for updating group name and description. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| UpdateGroupPayload | Return payload on update group operation. |
Examples
Example 1
Updates group name and description.
Query:
mutation UpdateGroup($input: UpdateGroupInput!) {
updateGroup(input: $input) {
group {
id
name
description
}
}
}
Show More
Query Variables:
{
"input": {
"hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
"groupId": "566929135",
"name": "Updated Group Name 566929135",
"description": "Updated group description"
}
}
Show More
Response:
{
"data": {
"updateGroup": {
"group": {
"id": "566929135",
"name": "Updated Group Name 566929135",
"description": "Updated group description"
}
}
}
}
Show More