Graphql fields and variables for the roleUpdate mutation
Last updated 2 years ago
Was this helpful?
Update a role
Scope required: security:write
For a complete list of input attributes see the type
mutation roleUpdate ($id: ID!, $attributes: RoleAttributes!) { roleUpdate (id: $id, attributes: $attributes) { errors role { id name } } }
{ "id": "456123", "attributes": { "name": "", "scopes": [ "" ] } }
id
ID
attributes
errors
List (String)
role