cURL
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" }
Revokes the consent and deactivates linked accounts
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Token.io consent ID
"consent_2abc123def456"
Consent revoked successfully
true
"Consent revoked successfully"
Was this page helpful?