await luma.webhooks.delete("whk-abc123");
null
Webhooks
Delete webhook endpoint
Remove a registered Luma webhook endpoint by ID using luma.webhooks.delete(), stopping any further outbound event deliveries to that URL.
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
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");