Mutations
createGroup
Create a group of members.
Template for Query:
mutation CreateGroup($input: createGroupInput!){
createGroup(input: $input) {
#CreateGroup Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-CREATEGROUP-INPUT-TYPE-SCALAR-VALUE>"
}
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:e7c7f5a9-a88a-40b4-85f6-ba1454def997",
"name": "DocGroup1725880690106"
}
}
Response:
{
"data": {
"createGroup": {
"group": {
"id": "173816631",
"name": "DocGroup1725880690106"
}
}
}
}
Show More