0

Delete User

by
Published Jun 6, 2022

Disassociates (unlinks) a user from the associated account or permanently deletes a user.

Script zoom Verified

The script

Submitted by hugo697 Bun
Verified 398 days ago
1
import zoomApi from 'zoomapi'
2

3
type Zoom = {
4
	accountId: string
5
	oauthClientId: string
6
	oauthClientSecret: string
7
	webhookSecretToken: string
8
}
9

10
export async function main(resource: Zoom, userid: string) {
11
	const client = zoomApi(resource)
12
	const createdUser = await client.users.DeleteUser(userid)
13
	return createdUser
14
}
15