Revoke an API token
revoke_api_tokenRevoke a LabelGrid API token by providing its token ID, or leave it blank to revoke the token currently in use. This action terminates access for the revoked token.
Instructions
Revoke a LabelGrid API token. Pass token_id to revoke a specific token; omit it to revoke the token currently in use. WARNING: revoking the current token immediately ends this session — the server loses access and stops working until you configure a new token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "revoke_api_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | No |