Revoke API Key
Revoke an existing API key to prevent further use.
Once revoked:
- The key immediately becomes invalid for authentication
- All requests using the key will receive 401 Unauthorized
- The action cannot be undone
- The key will no longer appear in listings
Only the user who created the key can revoke it.
Authentication
AuthorizationBearer
Bearer token authentication using JWT tokens from Ory Kratos/Hydra
Path Parameters
api_key_id
The UUID of the API key to revoke
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
Response
API key revoked successfully
