roleUpdate
Update an existing role's configuration.
Modifies role details including permissions, role definitions, and metadata. Only provided fields will be updated, others remain unchanged.
Possible errors:
- ROLE_NOT_FOUND_ERROR: Role with the specified ID does not exist
- ROLE_UPDATE_ERROR: Failed to update the role
AUTH: Role=[role.OWNER,role.EDITOR]
roleUpdate(
id: ID!
input: RoleUpdateInput!
): Role!
Arguments
roleUpdate.id
● ID!
non-null scalar
Unique identifier of the role to update.
Must be a valid UUID format representing an existing role in the system.
roleUpdate.input
● RoleUpdateInput!
non-null input
Updated role information.
Contains the role properties to update. Only provided fields will be changed, others remain unchanged.