Skip to content
Last update: April 11, 2024

updateRole mutation

This mutation updates a role.

Arguments

The InputUpdateRoleType! represents the input data required to update a role.

Field Description
role InputUpdateRoleInnerType The updated role information.

Possible returns

Possible return Description
IdentityResultType The result of an identity-related operation.
1
2
3
4
5
6
7
8
9
mutation updateRole ($command: InputUpdateRoleType!) {
  updateRole (command: $command) {
    errors {
      code
      description
    }
    succeeded
  }
}
1
2
3
{
  "command": {"contactId": "550e9b14-ddde-46fe-bc28-0afec83ade96", "organizationId": "689a72757c754bef97cde51afc663430"}
}