Skip to main content

roleDefinitionUpdate

Update an existing role definition's configuration.

Modifies role definition details including permissions, metadata, and configuration. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • ROLE_DEFINITION_NOT_FOUND_ERROR: Role definition with the specified ID does not exist
  • ROLE_DEFINITION_UPDATE_ERROR: Failed to update the role definition
roleDefinitionUpdate(
id: ID!
input: RoleDefinitionUpdateInput!
): RoleDefinition!

Arguments

roleDefinitionUpdate.id ● ID! non-null scalar

Unique identifier of the role definition to update.

Must be a valid UUID format representing an existing role definition in the system.

roleDefinitionUpdate.input ● RoleDefinitionUpdateInput! non-null input

Updated role definition information.

Contains the role definition properties to update. Only provided fields will be changed, others remain unchanged.

Type

RoleDefinition object