Skip to main content
POST
/
api
/
webhookSubscriptions.delete
Delete a webhook subscription
curl --request POST \
  --url https://{notifuseDomain}/api/webhookSubscriptions.delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_id": "ws_1234567890",
  "id": "whsub_a1b2c3d4e5f6"
}
'
{
"success": true
}

Authorizations

Authorization
string
header
required

API token for authentication

Body

application/json
workspace_id
string
required

The ID of the workspace

Example:

"ws_1234567890"

id
string
required

The ID of the subscription to delete

Example:

"whsub_a1b2c3d4e5f6"

Response

Webhook subscription deleted successfully

success
boolean
Example:

true