Skip to main content
POST
/
v1
/
ais
/
consents
/
{consentId}
/
revoke
Revoke Consent
curl --request POST \
  --url https://acount-apis-staging-a8cdb2402163.herokuapp.com/v1/ais/consents/{consentId}/revoke \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Consent revoked successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

Token.io consent ID

Example:

"consent_2abc123def456"

Response

Consent revoked successfully

success
boolean
Example:

true

message
string
Example:

"Consent revoked successfully"