Mutations
createGroup
Create a group of members.
Template for Mutation:
mutation CreateGroup($input: createGroupInput!){
createGroup(input: $input) {
# CreateGroupPayload Fields
}
}
Arguments
| input* createGroupInput non-null | input object for creating a group of members. |
* Required
Possible Returns
| Value Type | Description |
|---|---|
| CreateGroupPayload | Return payload on create group operation. |
Examples
Example 1
Create a new group.
Query:
mutation CreateGroup($input: CreateGroupInput!) {
createGroup(input: $input) {
group {
id
name
}
}
}
Show More
Query Variables:
{
"input": {
"hubId": "urn:adsk.ace:beta.scope:02dd340f-3e84-4db8-b6a1-56a964a202c7",
"name": "DocGroup1793373238084"
}
}
Response:
{
"data": {
"createGroup": {
"group": {
"id": "566929135",
"name": "DocGroup1793373238084"
}
}
}
}
Show More