Typescript
import Nuntly from '@nuntly/sdk'; const client = new Nuntly({ apiKey: 'My API Key', }); const webhook = await client.webhooks.delete('wh_YNtYn86oYZmP1ZHbnUBvXXFt'); console.log(webhook.id);
{ "data": { "id": "wh_01jne5c7gr2mhwrqg4zqwf48y2", "org_id": "org_01jh6jk82zjq9deye73h0mzcaq", "kind": "webhook" } }
Delete the webhook with the given ID
Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>
The webhook id previously created
A successful response
The response is of type object.
object