cURL
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" } '
200
Example
{ "success": true}
Permanently deletes a webhook subscription. This action cannot be undone.
API token for authentication
The ID of the workspace
"ws_1234567890"
The ID of the subscription to delete
"whsub_a1b2c3d4e5f6"
Webhook subscription deleted successfully
true