Deactivate Keys
Deactivate API keys either in bulk by request_id or individually.
Option A — Deactivate by request ID: Pass a request_id in the request body to deactivate all keys from that generation request.
Option B — Deactivate individual key: Set the key you want to deactivate in the Authorization header. No request body is required.
Documentation Index
Fetch the complete documentation index at: https://docs.tavily.com/llms.txt
Use this file to discover all available pages before exploring further.
This feature is available on the Enterprise plan. Talk to an expert to learn more.
Authorizations
Bearer authentication header in the form Bearer , where is your Tavily API key (e.g., Bearer tvly-YOUR_API_KEY).
Body
Optionally provide a request_id to bulk-deactivate keys. If omitted, the key in the Authorization header is deactivated.
The request ID from a previous /generate-keys call. All keys from that request will be deactivated.
"550e5678-e29b-41d4-a716-446655441234"
Response
Keys deactivated successfully.
A confirmation message.
"Successfully deactivated 5 key(s)"