API Keys
Delete an API key
Changed onDelete an existing API key. Authenticate with a management key.
delete/keys/{hash}
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Path parameters
hash, string required
The hash identifier of the API key to delete
Example:f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943
Response
API key deleted successfully
object required
deleted, true required
Confirmation that the API key was deleted
Example response
{
"deleted": true
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
openrouter_metadatato the response with the status - info
added the optional property
openrouter_metadatato the response with the status
2 more changes in this revision
- info