roleCreate

Graphql fields and variables for the roleCreate mutation

Create a role

Scope required: security:write

For a complete list of input attributes see the RoleAttributes type

mutation roleCreate ($attributes: RoleAttributes!) {
  roleCreate (attributes: $attributes) {
      errors
      role {
        id
        name
      }
  }
}

Arguments

{
  "attributes": {
    "name": "",
    "scopes": [
      ""
    ]
  }
}
Name
Type
Description

attributes

Response

Name
Type
Description

errors

List (String)

role

Last updated

Was this helpful?