Skip to main content

Disable webhook

Method POST

https://my.easyweek.io/api/public/v2/webhooks/{webhook_id}/disable

Description: This endpoint disables a webhook so it stops receiving event callbacks. The request takes no body.

Example Request

curl -i -X POST \
https://my.easyweek.io/api/public/v2/webhooks/{webhook_id}/disable \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'

Path Parameters

  • webhook_id (integer, required): The numeric identifier of the webhook to disable.

Example Response

{
"id": 12,
"url": "https://example.com/hooks/easyweek",
"method": "post",
"description": "My webhook",
"success_statuses": "200, 201",
"status": "disabled",
"send_notification": false,
"emails": "",
"events": ["booking-created", "booking-canceled"],
"parameters": [],
"headers": [],
"tries": 3,
"timeout": 10
}