API Key Management
Delete API Key
Deletes an API key for the authenticated user
POST
This endpoint deletes an API key for the authenticated user. Once deleted, the API key can no longer be used to authenticate API requests. This action cannot be undone, so use it with caution.
Request
The API key to delete
Example Request
Response
Example Response
Error Codes
Bad Request - The request was malformed or missing required parameters
Unauthorized - Authentication credentials are missing or invalid
Forbidden - The authenticated user does not have permission to delete the specified API key
Not Found - The specified API key does not exist or does not belong to the authenticated user
Internal Server Error - An unexpected error occurred on the server
Notes
- Once an API key is deleted, it can no longer be used to authenticate API requests.
- This action cannot be undone, so use it with caution.
- You can only delete API keys that belong to your account.
- If an API key is compromised, it should be deleted immediately to prevent unauthorized access.
- To generate a new API key, use the Generate API Key endpoint.
- To list all API keys for the authenticated user, use the List API Keys endpoint.