Review And Revoke A Bank Consent
A 4-step recipe with Tink. We can help you get access.
Recipe · 4 steps
Review And Revoke A Bank Consent
with Tink
List provider consents and credentials, then revoke a credentials object.
- List the active bank-provider consents for the user.
- List the credentials objects attached to the user and branch on whether any exist to revoke.
- Delete the first listed credentials object, revoking the underlying bank consent.
- Re-list the provider consents to confirm the revocation took effect.
What you'll need to have ready
- accessToken: A user access token authorized to read and revoke consents.
- credentialsId: Optional credentials id to revoke; when omitted the first listed credentials object is used.
For your developer
Arazzo workflow tink-com:review-and-revoke-consent, 4 operations: listProviderConsents → listCredentials → deleteCredentials → listProviderConsents. Specs on APIs.io.