Users creation using Zoom api

If a user is created using a zoom api with the action as custcreate , then according to the documentation the user can host a meeting using the start_url . I would like to know , in that case if a user can also host a meeting by using loading the meeting web sdk and then using the code:-

ZoomMtg.init({
leaveUrl: leaveUrl,
success: (success) => {
ZoomMtg.join({
sdkKey: ‘xxxxxxxxxxxx’,
signature: jwttoken, // role in SDK signature needs to be 1
meetingNumber: meetingId,
passWord: meetingPassword,
userName: ‘Dpsdoctor’,
zak: zaktoken, // the host’s ZAK token
success: (success) => {
console.log(success)
},
error: (error) => {
console.log(error)
}
})
},
error: (error) => {
console.log(error)
}
})

Hey @bmalik , yes this is exactly correct.