List a user's access tokens
GET/v1/users/:username/tokens
Lists access token metadata for a service account or user account. Token secrets are not returned.
note
Use the exact username for the user account or service account in the path /v1/users/:username/tokens.
This endpoint returns token metadata, including token IDs used for invalidation. It does not return token secrets.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful response
Bad Request
Invalid Credentials
Unauthorized
Not Found
Internal Error