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
Request
- Base URLhttps://api.laserdata.cloud
- Auth
- API key in header ld-api-key
- or API key in cookie session
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
Changes
No recorded changes to this operation across all 7 revisions of this API.