Skip to main content
DELETE
/
v1
/
channels
/
{channelId}
/
webhooks
/
{webhookId}
Delete webhook
curl --request DELETE \
  --url https://api.hubmessage.io/v1/channels/{channelId}/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>'
{
  "error": 401,
  "message": "Unauthorized"
}

Overview

Permanently removes a webhook. After deletion, immediately stops sending events to the configured URL.
Deletion is permanent and immediate. If you only need to pause the webhook temporarily, use the Update webhook endpoint with status: "DISABLED" instead of deleting.
This endpoint requires the ENTERPRISE role on your account.
The webhookId is obtained from the Create webhook or List webhooks endpoint.

Authorizations

Authorization
string
header
required

Secret Key generated in the Hub Message Security panel

Path Parameters

channelId
string
required

Channel ID

Example:

"019E4C54B1B375A28970B605CA9B03C3"

webhookId
string
required

Webhook ID

Example:

"A1B2C3D4E5F6789012345678901234AB"

Response

Webhook deleted successfully. No content returned.