# Auth roles

Generated reference for Auth roles endpoints.

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

## Endpoints

- [GET /v1/public/accounts/&#123;account_id&#125;/auth/role-assignments](/en/api/v1/public/accounts/account_id/auth/role-assignments/get) - List Role Assignments
- [POST /v1/public/accounts/&#123;account_id&#125;/auth/role-assignments](/en/api/v1/public/accounts/account_id/auth/role-assignments/post) - Assign Role
- [DELETE /v1/public/accounts/&#123;account_id&#125;/auth/role-assignments/&#123;assignment_id&#125;](/en/api/v1/public/accounts/account_id/auth/role-assignments/assignment_id/delete) - Revoke Role Assignment

## List Role Assignments

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

List Account Role Assignments

List account-scope role assignments.

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

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

## Assign Role

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

Create Account Role Assignment

Create an account-scoped role assignment.

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

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

## Revoke Role Assignment

**DELETE** `/v1/public/accounts/{account_id}/auth/role-assignments/{assignment_id}`

Revoke Account Role Assignment

Revoke an account-scoped role assignment.

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

OpenAPI reference: `/openapi.en.json DELETE /v1/public/accounts/{account_id}/auth/role-assignments/{assignment_id}`
