capabilities.work

Audit and Clean Up Accounts by App

A 3-step recipe with Pipedream. We can help you get access.

Recipe · 3 steps

Audit and Clean Up Accounts by App

with Pipedream · Developer Identity & Credential Management

Inspect a user's accounts for an app and delete them all.

  1. List the external user's connected accounts for the target app to learn which accounts exist.
  2. Retrieve the details of the first matched account to inspect its health before removing it.
  3. Remove all connected accounts for the app. This is destructive and cannot be undone.
What you'll need to have ready
  • projectId: The project ID, which starts with proj_.
  • environment: The Connect environment (development or production).
  • externalUserId: The end user identifier whose accounts are audited.
  • app: The app slug or ID used to filter the listed accounts.
  • appId: The app ID whose accounts are deleted in the cleanup step.
For your developer

Arazzo workflow pipedream:account-audit-cleanup, 3 operations: listAccounts → retrieveAccount → deleteAccountByApp. Specs on APIs.io.