Revoke API key
DELETE /v1/keys/{id}FreeWrites
Revokes an API key by id. Requests with it fail with 401 immediately.
MCP tool revoke_api_key · CLI geocode revoke-api-key · RPC POST /v1/ops/revoke_api_key
Input
| Field | Type | Description |
|---|---|---|
idpath, required | string | The key's id from list_api_keys. |
Example request
curl -X DELETE "https://geo-coder-service.vercel.app/v1/keys/%3Cid%3E" \ -H "Authorization: Bearer $GEOCODE_API_KEY"Example response
See the description above for what this returns.
Errors
Failures are RFC 9457 problems. Common ones here: 400 invalid_input, 401 unauthorized, 429 rate_limited.