Delete API Key
API Key Management
Delete API Key
Deletes an API key for the authenticated user
POST
Delete API Key
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
string
required
The API key to delete
Example Request
Response
object
Example Response
Error Codes
object
Bad Request - The request was malformed or missing required parameters
object
Unauthorized - Authentication credentials are missing or invalid
object
Forbidden - The authenticated user does not have permission to delete the specified API key
object
Not Found - The specified API key does not exist or does not belong to the authenticated user
object
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.