roleUpdate

Graphql fields and variables for the roleUpdate mutation

Update a role

Scope required: security:write

For a complete list of input attributes see the RoleAttributes type

mutation roleUpdate ($id: ID!, $attributes: RoleAttributes!) {
  roleUpdate (id: $id, attributes: $attributes) {
      errors
      role {
        id
        name
      }
  }
}

Arguments

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

id

ID

attributes

Response

Name
Type
Description

errors

List (String)

role

Last updated

Was this helpful?