Get API tokens by name
GET/api/admin/api-tokens/:name
Retrieves all API tokens that match a given token name. Because token names are not unique, this endpoint will always return a list. If no tokens with the provided name exist, the list will be empty. Otherwise, it will contain all the tokens with the given name.
Request
Responses
- 200
- 401
- 403
apiTokensSchema
Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation