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/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)