# Auth service accounts

Generated reference for Auth service accounts endpoints.

This generated page groups every public API operation in the Auth service accounts category.

## Endpoints

- [GET /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts](/en/api/v1/public/accounts/account_id/auth/service-accounts/get) - List Service Accounts
- [POST /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts](/en/api/v1/public/accounts/account_id/auth/service-accounts/post) - Create Service Account
- [POST /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts/&#123;service_account_id&#125;/rotate](/en/api/v1/public/accounts/account_id/auth/service-accounts/service_account_id/rotate/post) - Rotate Service Account Token
- [DELETE /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts/&#123;service_account_id&#125;](/en/api/v1/public/accounts/account_id/auth/service-accounts/service_account_id/delete) - Revoke Service Account

## List Service Accounts

**GET** `/v1/public/accounts/{account_id}/auth/service-accounts`

List Service Accounts

List service accounts for the account.

Full reference: [GET /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts](/en/api/v1/public/accounts/account_id/auth/service-accounts/get)

OpenAPI reference: `/openapi.en.json GET /v1/public/accounts/{account_id}/auth/service-accounts`

## Create Service Account

**POST** `/v1/public/accounts/{account_id}/auth/service-accounts`

Create Service Account

Create a service account and reveal its token once.

Full reference: [POST /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts](/en/api/v1/public/accounts/account_id/auth/service-accounts/post)

OpenAPI reference: `/openapi.en.json POST /v1/public/accounts/{account_id}/auth/service-accounts`

## Rotate Service Account Token

**POST** `/v1/public/accounts/{account_id}/auth/service-accounts/{service_account_id}/rotate`

Rotate Service Account Token

Rotate a service account token and reveal its replacement once.

Full reference: [POST /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts/&#123;service_account_id&#125;/rotate](/en/api/v1/public/accounts/account_id/auth/service-accounts/service_account_id/rotate/post)

OpenAPI reference: `/openapi.en.json POST /v1/public/accounts/{account_id}/auth/service-accounts/{service_account_id}/rotate`

## Revoke Service Account

**DELETE** `/v1/public/accounts/{account_id}/auth/service-accounts/{service_account_id}`

Revoke Service Account

Revoke a service account and its active token.

Full reference: [DELETE /v1/public/accounts/&#123;account_id&#125;/auth/service-accounts/&#123;service_account_id&#125;](/en/api/v1/public/accounts/account_id/auth/service-accounts/service_account_id/delete)

OpenAPI reference: `/openapi.en.json DELETE /v1/public/accounts/{account_id}/auth/service-accounts/{service_account_id}`
