Delete Webhook

Delete a webhook. Chatway stops sending events to its endpoint immediately.

DELETE https://developers.chatway.app/api/v1/webhooks/{webhook}

Example request

curl -X DELETE "https://developers.chatway.app/api/v1/webhooks/{webhook}" \
  -H "X-API-KEY: your_api_key"

Parameters

NameInRequiredTypeDescription
webhookpathYesstring

Responses

200

application/json

403

Examples

Response 200 example

{
    "message": "Webhook deleted successfully.",
    "mock": true
}