Can't delete a Zoom Meeting with Zoom OAuth API

I have the following code:

try {
        let refreshToken =;
        let accessTokenData = await accessToken(refreshToken, userData);

        var config = {
            method: 'delete',
            url: `${data.eventId}`,
            headers: {
                'Content-Type': 'application/json',
                'Authorization': 'Bearer ' + accessTokenData
        const resData = await axios(config);
    } catch (error) {
        console.error("Error: " + error.message);
        return {
            success: false,
            message: error.message

which is called whenever a user wants to delete a meeting. For some reason, Zoom gives me a 200 status code (if I print via axios response data.status) but when I check my account, the meeting still shows up in the upcoming meetings section of my Zoom account?

Any ideas what may be causing this? I use similar code to create meetings which works so what’s the issue? I tested in localhost as well as production.

Hi @appoink ,

To clarify, you get a 200 status code, or do you get a 204? If a meeting has been successfully deleted, the status code returned should be a 204.

Let us know!

It’s a 200 status code return. No errors or nothing. Yet meetings don’t get deleted.

Whoops. I figured out the issue. Endpoint should be not