delete_api_token
Expire an API token by token ID through the Semaphore UI management API to revoke its access.
Instructions
Expires API token. DELETE /user/tokens/{token_id}.
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": {
"token_id": "<token_id>"
},
"name": "delete_api_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes |