API Tokens
Retrieve details of an API token.
get/v1/api_tokens/{token_id}
Path parameters
token_idstring required
Example:5ddaad0c-5a0c-4674-beb5-1cd198d13360
Id of the token.
Response
Current token details
Example response
{
"id": "5ddaad0c-5a0c-4674-beb5-1cd198d13360",
"name": "myTokenName",
"workspace_id": 42,
"type": "personal_access_token",
"status": "revoked",
"created_at": "2023-05-20T12:40:55.662949Z",
"last_used_at": "2023-05-24T12:40:55.662949Z",
"revoked_at": "2023-05-27T12:40:55.662949Z",
"member_id": 22015,
"creator_id": 22015,
"scopes": [
"incidents:read",
"scan"
]
}