Revoke Extract API Key
averra_revoke_api_keyDeactivate an API key permanently to remove access to the Averra Extract MCP server. This action cannot be undone and requires creating a new key for continued use.
Instructions
Revoke an Extract API key by its ID. The key is immediately deactivated and cannot be reactivated — create a new key if needed.
SAFETY: You cannot revoke the key that is currently authenticating the MCP server itself (the one set in AVERRA_EXTRACT_API_KEY). Attempting to do so returns a 400 error.
Args:
id (string, required): The key ID to revoke. Get this from averra_list_api_keys.
response_format ('markdown' | 'json', optional): Output format. Default 'markdown'.
Returns: For JSON format: { "message": "API key revoked", "id": string, // The revoked key's ID "prefix": string, // Key prefix for confirmation "revoked_at": string // ISO 8601 revocation time }
This operation is destructive (cannot be undone) but idempotent (revoking an already-revoked key is safe).
Examples:
Use when: User explicitly asks to revoke a specific key.
Use when: Rotating keys — after confirming the new key works.
Don't use without user confirmation — this invalidates a credential.
Error Handling:
400: Attempting to revoke the currently-authenticating key — use a different auth key first
401: Invalid API key — check AVERRA_EXTRACT_API_KEY
404: Key not found or already revoked
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the API key to revoke (from averra_list_api_keys). Cannot be the key currently authenticating this request. | |
| response_format | No | Output format: 'markdown' for human-readable output (default), 'json' for machine-readable structured data | markdown |