Skip to main content

updateOrgRole

Updates a role's name, description, and/or permission set. Requires the 'manage_members' permission on the role's org (super admins bypass). If input.permissions is provided it replaces the entire set (empty array clears all); omit to leave permissions unchanged.

updateOrgRole(
orgRoleId: BigInt!
input: UpdateOrgRoleInput!
): OrgRole!

Arguments

updateOrgRole.orgRoleId ● BigInt! non-null scalar

Role id (org_role_id as a BigInt string).

updateOrgRole.input ● UpdateOrgRoleInput! non-null input

Type

OrgRole object