Skip to content
Go to Micro

Delete a webhook

client.webhooks.delete(stringwebhookID, WebhookDeleteParams { teamId } params?, RequestOptionsoptions?): void
DELETE/v2/webhooks/{teamId}/{webhookId}

Delete a webhook

ParametersExpand Collapse
webhookID: string
formatuuid
params: WebhookDeleteParams { teamId }
teamId?: string
formatuuid

Delete a webhook

import Micro from '@micro-so/sdk';

const client = new Micro({
  teamID: 'My Team ID',
  apiKey: process.env['MICRO_API_KEY'], // This is the default and can be omitted
});

await client.webhooks.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
Returns Examples