Remove existing participant in web sdk

I want to remove exsisitng zoom meeting participant (After Logged in to the zoom meeting ) using this code. but it doesn’t work

   if (isValidAuthorizedUser === "false" || isValidCourseEnrollment === "false" || hasUnpaidInvoices === "true") {
                    var userId = data.userId;
                    console.log("Removed Participant");
                    //Remove Participant User
                    ZoomMtg.expel({
                        userId: userId
                    });
                }

Hey @digix.sameera ,

Please provide the Web SDK version, browser you are using, and if there are any errors in the console so we have enough info to help. :slight_smile:

Thanks,
Tommy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.