curl --request POST \
--url https://api.example.com/tokens/{token_id}/revoke \
--header 'X-API-Key: <api-key>'{
"id": 123,
"name": "<string>",
"prefix": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z",
"last_used_ip": "<string>",
"created_by": "<string>"
}Отзыв (деактивация) API-токена.
curl --request POST \
--url https://api.example.com/tokens/{token_id}/revoke \
--header 'X-API-Key: <api-key>'{
"id": 123,
"name": "<string>",
"prefix": "<string>",
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z",
"last_used_ip": "<string>",
"created_by": "<string>"
}Successful Response
Первые символы токена для идентификации