Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Code snippet on how to delete a webhook using the MessageMedia Webhooks Node.js SDK.
function deleteWebhook(){
var controller = setup();
// The id of the webhook that you would like to delete
var webhookId = "WEBHOOK_ID";
// Call the function that deletes the webhook
controller.deleteWebhook(webhookId, function(error, response, context) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.