api_tokens_delete_api_token
Delete an API token by UUID to revoke its access; requires an admin JWT and returns a preview unless confirm is true.
Instructions
DELETE /api/tokens/{uuid} Delete API token This endpoint is forbidden to use via "API-key". It can be used only with an admin JWT-token. Tags: API Tokens Controller
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>"
},
"name": "api_tokens_delete_api_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the API token | |
| confirm | No | Подтверждение выполнения не-GET операции. Без confirm:true возвращается превью запроса (метод, URL, тело) и запрос не отправляется (см. MCP_CONFIRM). |