latestOpenAPI 3.1.0Proprietary2026-08-1095216168.4 KB
db81a447bba9
Roles
Create role
Creates a custom role with a permission tree spanning tenant + division + environment scopes. New id returned in ld-role header. System roles cannot be created via this API.
post/tenants/{tenant_id}/roles
Path parameters
tenant_idinteger required
Example:7261845022003200000
Tenant identifier
Request body
Example request
{
"name": "tenant-admin"
}Response
Role created. The new role ID is returned in the ld-role header