Skip to main content
DELETE
/
keys
/
{id}
Revoke API key
curl --request DELETE \
  --url https://api.social-api.ai/v1/keys/{id} \
  --header 'Authorization: <api-key>'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer soc_live_...

Path Parameters

id
string
required

API key ID

Response

Key revoked

ok
boolean
Example:

true