Skip to main content
await luma.webhooks.delete("whk-abc123");
null
SDK luma.webhooks.delete(id: string): Promise<void> Deletes a webhook endpoint.
await luma.webhooks.delete("whk-abc123");
null

Parameters

id
string
required
Webhook endpoint api_id from webhooks.create() or webhooks.list().

Test it

Delete a test endpoint you no longer need:
const endpoint = await luma.webhooks.create({
  url: "https://myapp.com/api/luma-webhook-test",
  event_types: ["guest.updated"],
});
await luma.webhooks.delete(endpoint.api_id);
console.log("Deleted");