Update Custom Role
Team Management
Update Custom Role
Updates a custom role’s permission matrix. Every category is at least ‘view’ — omitted categories default to ‘view’. System roles cannot be edited. The new matrix must not duplicate an existing role’s. Requires a global API key.
PATCH
Update Custom Role
Path Parameters
The unique identifier of the role (a system role ID or a custom role ID)
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Body
application/json
Request body for updating a custom role's permissions
Per-category access levels for a role. Every category is at least 'view'; categories omitted on create/update default to 'view'.