Skip to main content
DELETE
/
v1
/
auth
/
api-keys
/
{key_id}
Revoke an API key
curl --request DELETE \
  --url https://api.foresight.now/v1/auth/api-keys/{key_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Privy-issued JWT. Required for L1 routes; accepted on L2 routes.

Path Parameters

key_id
string
required

Response

OK

success
boolean
Example:

true