Policies

get

List Policies

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Responses
200

ListPoliciesResponse contains a list of policies with entity counts.

No content

get
/api/rbac/policies/list

No content

get

Get Policy by ID

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the policy to retrieve

Responses
200

Add response wrapper definition ---

No content

get
/api/rbac/policy/{id}

No content

put

Update Policy

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the policy to update

Body
claimRolestringOptional

Optional new claim role for the policy.

currentRevisioninteger · int32Optional

The current revision number of the policy being updated (for optimistic locking).

descriptionstringOptional

Optional new description for the policy.

namestringRequired

New name for the policy.

Responses
put
/api/rbac/policy/{id}

No content

post

Apply Policies to Users

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
emailsstring[] · min: 1Required

List of user emails to apply policies to.

overridebooleanOptional

If true, replaces existing policies; otherwise appends.

policyUUIDsstring[] · min: 1Required

List of policy UUIDs to apply.

Responses
200Success

No content

post
/api/rbac/policy/apply

No content

delete

Delete Policy

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Path parameters
idstringRequired

UUID of the policy to delete

Responses
200Success

No content

delete
/api/rbac/policy/{id}

No content

post

Create Policy

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Body
claimRolestringOptional

Optional claim role for the policy.

descriptionstringOptional

Optional description for the policy.

namestringRequired

Name of the policy.

Responses
post
/api/rbac/policy/create

No content

Last updated