You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-v2/pages/connect/managed-auth/users.mdx
+59-2Lines changed: 59 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,65 @@ To view or delete your users' connected accounts:
10
10
11
11
You'll see a list of all users, their connected accounts, and the option to delete any accounts from the UI. You can also retrieve and delete all your users via the API ([see the docs for reference](/connect/api/)).
12
12
13
+
## Connecting multiple accounts
14
+
15
+
Users can connect multiple accounts for many different apps, or for the same app (e.g, I can connect my Notion and Gmail accounts, as well as accounts for multiple Slack workspaces).
16
+
17
+
When retrieving account information [from the API](/connect/api/#accounts), you can filter by `external_user_id` and / or `app` to retrieve information for a specific user and / or app.
18
+
13
19
<Callouttype="warning">
14
-
Connect currently supports one connected account per user, app, environment combination.
20
+
When running workflows on behalf of an end user, right now you can only use a single account for a given app. If there are multiple connected accounts for that app, **Pipedream will use the most recently created account**. See more info on running workflows for your users [here](/connect/workflows).
21
+
</Callout>
22
+
23
+
## Deleting accounts
24
+
25
+
You have several options for removing access in Pipedream, depending on whether you want to delete an entire user or just specific connected accounts.
26
+
27
+
### Deleting individual connected accounts
28
+
29
+
If you need more granular control, you can delete specific connected accounts instead of removing the entire user.
30
+
31
+
#### From the UI
32
+
1. Open the project in Pipedream
33
+
2. Navigate to the **Users** tab under **Connect**
34
+
3. Find the user whose accounts you want to manage
35
+
4. View all connected accounts for that user in the expanded section
36
+
5. Click the **Delete** button next to the specific account you want to remove
37
+
6. Confirm the deletion when prompted
38
+
39
+
This allows for more granular control over which integrated services remain accessible to your users.
15
40
16
-
So if user `abc-123` in your application connects their Slack account in `production`, then that same user connects a different Slack workspace (also in `production`), the first connected account will get overwritten in Pipedream and replaced by the second.
41
+
#### Via the API
42
+
You can delete specific connected accounts programmatically:
For complete API details including TypeScript and Node.js examples, [refer to the API reference](/connect/api/#delete-connected-account).
50
+
51
+
### Deleting users
52
+
53
+
When you delete a user, all of their connected accounts and deployed resources (if any) are permanently removed from Pipedream. There are two ways to delete users:
54
+
55
+
#### From the UI
56
+
1. Open the project in Pipedream
57
+
2. Navigate to the **Users** tab under **Connect**
58
+
3. Locate the user you wish to delete
59
+
4. Click the **Delete User** button at the end of the row
60
+
5. Confirm the deletion in the dialog that appears
61
+
62
+
<Callouttype="danger">
63
+
Deleting a user is permanent and cannot be undone. All connected accounts for this user will be permanently removed.
17
64
</Callout>
65
+
66
+
#### Via the API
67
+
You can delete a user programmatically using the Pipedream API:
0 commit comments