roleDelete

Delete a role. The roleDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: security:write

mutation roleDelete ($id: ID!) {
  roleDelete (id: $id) {
      errors
      role {
        id
        name
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
errors String  
role Role