Zoom - Update 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_update_user
Update information on a user’s Zoom .
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
20
21
22
23
24
25
26
27
28
29
30
31
32
}
33
//See the API docs here: https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userupdate
const config = {
  method: "patch",
  url: `https://api.zoom.us/v2/users/${params.user_id}`,
  params: {
    login_type: params.login_type
  },
  data: {
    first_name: params.first_name,
    last_name: params.last_name,
    type: params.type,
    pmi: params.pmi,
    use_pmi: params.use_pmi,
    timezone: params.timezone,
    language: params.language,
    dept: params.dept,
    vanity_name: params.vanity_name,
    host_key: params.host_key,
    cms_user_id: params.cms_user_id,
    job_title: params.job_title,
    company: params.company,
    location: params.location,
    phone_number: params.phone_number,
    phone_country: params.phone_country
    },
  headers: {
    Authorization: `Bearer ${auths.zoom_admin.oauth_access_token}`,
    "Content-Type": "application/json"
  }
}
return await require("@pipedreamhq/platform").axios(this, config)