Skip to main content
DELETE
https://api.entityml.com
/
api
/
v1
/
keys
/
{key_id}
Delete API Key
curl --request DELETE \
  --url https://api.entityml.com/api/v1/keys/{key_id}
{
  "success": true,
  "message": "<string>"
}

Request

Path Parameters

key_id
string
required
The ID of the API key to deactivate.

Query Parameters

user_id
string
required
The user ID that owns the key.

Response

success
boolean
Whether the key was deactivated successfully.
message
string
Confirmation message.

Example

cURL
curl -X DELETE "https://api.entityml.com/api/v1/keys/YOUR_KEY_ID?user_id=YOUR_USER_ID"

Example response

{
  "success": true,
  "message": "API key deactivated successfully"
}