Skip to main content

Create a custom role

POST 

/api/v1/organizations/current/roles

Create a least-privilege custom role. Admin/owner only.

Admission-gated behind release_custom_roles (404 when off). Permissions must be concrete scopes from the catalogue and a subset of what the creator can grant (reduce-only, mirrors API-key scope composition).

Request

Responses

Successful Response