Update Role
Updates an existing permissions roleβs name and action set.
The update is a full replacement of the role definition.
π§ Built-in system roles (such as Admin and Member) cannot be updated. Attempting to modify a system role returns an error.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
id
Headers
X-Polytomic-Version
Request
This endpoint expects an object.
name
organization_id
Response
OK
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
