Skip to main content
DELETE
/
consumer
/
v1
/
keys
/
{keyId}
Revoke a key and active sessions
curl --request DELETE \
  --url https://api.machines.cash/consumer/v1/keys/{keyId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {},
  "summary": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

keyId
string
required

Consumer key id to revoke.

Response

Success

ok
boolean