Authentication API
Creation
POST /auth/users/tokens
Request:AuthTokenCreateRequest
Response:string
Security Group:users  Permission:write
AuthTokenCreateRequest
¶requiredname stringexpiresAt datetimepermissions string[]tenants string[]
Fetch
GET /auth/users/tokens
Response:AuthTokenResponse[]
Security Group:users  Permissions:read,custom
GET /auth/users/{locator}/tokens
Request 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