List tokens for a user
DEPRECATED: User API tokens have been deprecated in favor of user API keys. This endpoint remains available to manage existing API tokens. Create a user API key instead.
List all API tokens for a user. Only the authenticated user themselves and server admins have access to this endpoint. By default, the tokens are sorted in alphabetical order by name. The HTTP response header X-Total-Count contains the total number of tokens.
Path parameters
The slug or UUID for a user.
Query parameters
The direction to sort by. If not specified, the default sort direction is used.
The page number to return. If not specified, the first page is returned.
The number of items to return per page. If not specified, the default number of items per page (8) is used.
Sort by token name.
The field to sort by. If not specified, the default sort field is used.
Filter by token name, exact match.
If set to true, only returns revoked tokens. If not set or set to false, only returns non-revoked tokens.
Search by token name, slug, or UUID.
Response
successful operation