groupCreate

Create a group. The groupCreate 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 groupCreate ($attributes: GroupAttributes!) {
  groupCreate (attributes: $attributes) {
      errors
      group {
        id
        name
        parentGroupId
      }
  }
}

ArgumentsLink to Arguments section

{
  "attributes": {
    "name": "",
    "parentGroupId": "456123"
  }
}
Name Type Description
attributes GroupAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
group Group