API Keys
Delete API Key
Changed onPermanently revokes an API key; requests using its secret stop authenticating immediately. Default and agent-backend keys cannot be deleted.
delete/api_keys/{id}
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
id, string required
API key ID, prefixed apik_.
Headers
Api-Version-Date, string
Example:2026-11-30
Pins the request to a dated API version.
Response
api key deleted
object required
deleted, boolean required
Always true: the key was revoked.
id, string required
The ID of the revoked key.
Example response
{
"deleted": true,
"id": "apik_xxxxxxxxxxxxxx"
}Changes
- info
added the optional property
error/codeto the response with the status - info
added the optional property
error/codeto the response with the status - info
added the optional property
error/codeto the response with the status
1 more change in this revision
- info