The user ID or email address of the user.
async
(params, auths) => {
}
//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)