Authentication API
Endpoint Index
| Action | Endpoint |
|---|---|
| Create an Auth Token | POST /auth/users/tokens |
| Create a Service Account Auth Token | POST /auth/users/{locator}/tokens |
| Fetch All Auth Tokens | GET /auth/users/tokens |
| Fetch Auth Tokens for a User | GET /auth/users/{locator}/tokens |
| Delete an Auth Token | DELETE /auth/users/tokens/{tokenOrName} |
| Delete an Auth Token for a Specific User | DELETE /auth/users/{locator}/tokens/{tokenOrName} |
Creation
POST /auth/users/tokensRequest:AuthTokenCreateRequest
Response:string
Security Group:users  Permissions:write,token
POST /auth/users/{locator}/tokensRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | uuid | required |
Request:AuthTokenCreateRequest
Response:string
Security Group:users  Permission:custom
AuthTokenCreateRequest
¶requiredname stringexpiresAt datetimepermissions string[]tenants string[]
Fetch
GET /auth/users/tokensResponse:AuthTokenResponse[]
Security Group:users  Permissions:read,custom
GET /auth/users/{locator}/tokensRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | uuid | required |
Response:AuthTokenResponse[]
Security Group:users  Permissions:read,custom
AuthTokenResponse
¶requiredname stringexpiresAt datetimecreatedAt datetimeoptionalpermissions string[]?tenants string[]?
Deletion
DELETE /auth/users/tokens/{tokenOrName}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tokenOrName | path | string | required |
Response:void
Security Group:users  Permissions:write,custom
DELETE /auth/users/{locator}/tokens/{tokenOrName}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| locator | path | uuid | required |
| tokenOrName | path | string | required |
Response:void
Security Group:users  Permissions:write,custom