revoke_api_token
Revoke one of the holder’s own personal access tokens — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the tokens:write permission).
Revoke one of the holder’s own personal access tokens.
| Required permission | tokens:write |
| Capability ID | apiTokens.revoke |
| Destructive | Yes — irreversible; agents should confirm before calling |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string (uuid) | yes |
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"id"
],
"additionalProperties": false
}Access control
A call succeeds only when the personal access token's scopes and the holder's role both allow tokens:write (effective permission = scope ∩ role, default-deny). The tool runs inside the token owner's organization — tenancy is never a parameter.
restore_issue
Restore a work item from trash (comments + history intact) — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the work:write permission).
save_view
Save a view (filter AST + sort + grouping + layout; personal or shared) — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the work:write permission).