updateRole
Update a custom role's definition (anti-escalation guarded server-side). Reserved names admin/viewer are rejected. Requires change-user-roles permission.
updateRole(
organizationId: String!
name: String!
input: UpdateRoleInput!
): Role!
Arguments
updateRole.organizationId ● String! non-null scalar
updateRole.name ● String! non-null scalar
updateRole.input ● UpdateRoleInput! non-null input
Type
Role object
A tenant (organization) role: either a predefined platform role (admin/viewer) or a custom role defined by an organization admin.