Zoom - Delete User
@sergio
code:
data:privatelast updated:4 years ago
today
Build integrations remarkably fast!
You're viewing a public workflow template.
Sign up to customize, add steps, modify code and more.
Join 1,000,000+ developers using the Pipedream platform
steps.
trigger
HTTP API
Deploy to generate unique URL
This workflow runs on Pipedream's servers and is triggered by HTTP / Webhook requests.
steps.
zoom_delete_user
Disassociates (unlinks) a user from the associated account or permanently deletes a user.
auth
(auths.zoom_admin)
params
User id

The user ID or email address of the user.

 
string ·params.user_id
Optional
code
async (params, auths) => {
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
}
19
//See the API docs here: https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userdelete
const config = {
  method: "delete",
  url: `https://api.zoom.us/v2/users/${params.user_id}`,
  params: {
    action: params.action,
    transfer_email: params.transfer_email,
    transfer_meeting: params.transfer_meeting,
    transfer_webinar: params.transfer_webinar,
    transfer_recording: params.transfer_recording
    },
  headers: {
    Authorization: `Bearer ${auths.zoom_admin.oauth_access_token}`,          
    "Content-Type": "application/json"
  }
}
return await require("@pipedreamhq/platform").axios(this, config)