Admin
Create a custom instance role
Create a role that grants a set of instance permissions. Assign it to users by name. Requires the roles:manage permission, which only the built-in admin role has; API keys are rejected.
POST
Create a custom instance role
Body
application/json
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 new role
Create a custom instance role