DocumentationBlogSupport
Log inSign up
Log inSign up
BlogSupport

Delete Meetings with the Webex API in Node

July 19, 2022
Joe Zanini
Joe ZaniniDeveloper Evangelist
Delete Meetings with the Webex API in Node

There are recently published blogs and sample code about implementing the CRUD (Create, Read, Update, Delete) process with the Webex RESTful API, minus the Delete process. In this follow up blog, I’m going to show you how to delete a meeting programmatically. If you are new to the Webex RESTful API, you can always continue learning at https://developer.webex.com/.

Webex Rest API Samples

The Webex Meetings Rest API enables seamless integration of Webex Meetings into your websites and apps. You can schedule meetings, send meeting invitations, list meetings, and more. The full source code for this sample project is available on GitHub. You can also find many more samples/examples in the repository that is managed by the Webex Developer Evangelist team here.

Using the Sample Code

Before getting started with setting up the project, you are going to need to replace the generic String values (lines 34 and 35 in delete_meeting.js) stored in the variables shown in the below portion of code with the bearer token associated with your Webex developer account, and the meeting ID that resolves to the meeting intended to be deleted.

const myWebexDeveloperToken = 'REPLACE ME WITH YOUR WEBEX DEVELOPER PERSONAL ACCESS TOKEN';
const meetingId = 'REPLACE WITH MEETING ID';

You can use the Try It Now feature for a quick way to acquire a meeting ID without having to write any code on the List Meetings API endpoint if you are logged into the Webex Developer portal.

Once set up is completed, you can follow the instructions in the projects README file and run the below command from a CLI.

node ./delete_meeting.js

Upon a successful execution of the sample code, you should receive a 204 (No Content) status code as there is no further information supplied in the response body.

Try It Now

A copy of the sample code is available on GitHub:

https://github.com/WebexSamples/rest-api-samples/tree/main/meetings/delete

Engage with Us

The Webex Developer Community has dedicated topics, discussion groups, and announcements. Also, follow Webex Devs on Twitter. We encourage you to tell us about your experience using the above sample code.

Blog Categories
  • Product Announcements
  • How To
  • Events
  • Developer Stories
Share This Article
Related Articles
Update A Meeting via the Webex REST API
How-To
Update A Meeting via the Webex REST API
Aaron Burns
July 13, 2022
Read Meetings via the Webex API in Node
How-To
Read Meetings via the Webex API in Node
Aaron Burns
July 6, 2022
Create a Meeting in Node with the Webex REST API
How-To
Create a Meeting in Node with the Webex REST API
David Liedle
June 27, 2022

Connect

Support

Developer Events

Contact Sales

Handy Links

Webex Ambassadors

Webex App Hub

Resources

Open Source Bot Starter Kits

Download Webex

DevNet Learning Labs

Terms of Service

Privacy Policy

Cookie Policy

Trademarks

© 2023 Cisco and/or its affiliates. All rights reserved.