Service Accounts

get

List Service Accounts

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

ListServiceAccountsResponse contains a list of service accounts.

No content

get
/api/rbac/service-accounts/list

No content

get

Get service account by ID

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

ID of the service account to retrieve

Responses
200

ServiceAccountsWithPolicyResponse defines the response structure for getting a single service account.

No content

get
/api/rbac/service-account/{id}

No content

post

Create Service Account

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

The email address associated with the service account.

namestringRequired

The desired name for the service account.

policyUUIDsstring[]Required

A list of policy UUIDs to assign to the service account.

Responses
200Success

No content

post
/api/rbac/service-account/create

No content

delete

Delete Service Account

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

ID of the service account to delete

Responses
delete
/api/rbac/service-account/{id}

No content

put

Update Service Account

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

The new email address for the service account (optional).

overridePoliciesbooleanOptional
policyUUIDsstring[]Optional

A list of policy UUIDs to set for the service account (optional, replaces existing). Provide empty list to remove all.

serviceAccountIdstringRequired

The UUID of the service account to update.

Responses
200

UpdateServiceAccountResponseWrapper defines the response structure for updating a service account.

No content

put
/api/rbac/service-account/update

No content

Last updated