Admin
Update a custom instance role
Rename a role or replace its permissions. Users who have it keep it under the new name, and permission changes apply to their next request. Requires the roles:manage permission; API keys are rejected.
PUT
Update a custom instance role
Authorizations
API key or session token (Bearer)
Path Parameters
Minimum string length:
1Body
application/json
Lowercase letters, digits and hyphens, starting with a letter. admin and user are reserved.
Pattern:
^[a-z][a-z0-9-]{1,31}$Example:
"support"
Instance permissions the role grants. roles:manage belongs to the built-in admin role only.
Maximum array length:
30Available options:
users:read, users:create, users:update, users:disable, users:delete, users:credentials, users:sessions, users:api_keys, workspaces:read, workspaces:manage, workspaces:archive, workspaces:delete, audit:read, system:read, instance:settings Response
The updated role
Available options:
users:read, users:create, users:update, users:disable, users:delete, users:credentials, users:sessions, users:api_keys, workspaces:read, workspaces:manage, workspaces:archive, workspaces:delete, audit:read, system:read, instance:settings Users who currently have this role.
Update a custom instance role