Users
List API tokens for a specific user
Superadmin-only. Get all API token existing for a user.
get/api/v1/users/{id}/api-tokens
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/users/{id}/api-tokens
- Auth: one of:
- HTTP bearer
- HTTP basic
Path parameters
idstring required
The user id
Response
listApiTokensForUser 200 response
Example response
{
"total": 0,
"results": [
{
"lastUsed": "2000-01-23T04:56:07.000+00:00",
"expired": true,
"prefix": "prefix",
"name": "name",
"description": "description",
"id": "id",
"exp": "2000-01-23T04:56:07.000+00:00",
"iat": "2000-01-23T04:56:07.000+00:00",
"extended": true
},
{
"lastUsed": "2000-01-23T04:56:07.000+00:00",
"expired": true,
"prefix": "prefix",
"name": "name",
"description": "description",
"id": "id",
"exp": "2000-01-23T04:56:07.000+00:00",
"iat": "2000-01-23T04:56:07.000+00:00",
"extended": true
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.