groupUpdate
Update a group. The groupUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: security:write
For a complete list of input attributes see the GroupAttributes type
mutation groupUpdate ($id: ID!, $attributes: GroupAttributes!) {
groupUpdate (id: $id, attributes: $attributes) {
errors
group {
id
name
parentGroupId
}
groups
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"name": "",
"parentGroupId": "456123"
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | GroupAttributes |