Skip to main content
DELETE
Delete default webhook

Overview

Deletes a default webhook. After deletion, Omni Z-API stops sending events to the configured URL, and the slot in the workspace limit of 5 is freed. If it was the only default webhook subscribed to an event, channels without a webhook of their own stop delivering that event.
Deletion is permanent. To pause the webhook, use Update default webhook with status: "DISABLED".
The webhookId comes from the Create default webhook or List default webhooks response.

Authorizations

Authorization
string
header
required

Secret Key generated in the Omni Z-API Security panel

Path Parameters

webhookId
string
required

Default webhook ID

Example:

"5B7E3A90C2D14F6A8E1B2C3D4E5F6A7B"

Response

Default webhook deleted