Skip to content

Instantly share code, notes, and snippets.

@robbfitzsimmons
Created August 13, 2015 23:05
Show Gist options
  • Save robbfitzsimmons/68a5f3e31a70fd1f714b to your computer and use it in GitHub Desktop.
Save robbfitzsimmons/68a5f3e31a70fd1f714b to your computer and use it in GitHub Desktop.
Deleting Plaid Access Tokens in Bulk
from plaid import Client
Client.config({
'url': 'https://api.plaid.com'
})
# These are available on your account dashboard (https://www.plaid.com/account/#/).
client_id = ""
secret = ""
# There's no endpoint listed in the docs to retrieve access tokens, so you'll need to pull these from your database.
access_tokens = []
# Now we just iterate through and delete everybody's token.
for access_token in access_tokens:
client = Client(client_id, secret, access_token)
client.connect_delete()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment