Disable a Webhook
Changed onThis endpoint allows you to disable a specific webhook. Note that once a webhook is disabled, it will no longer trigger notifications for any event, even if the event is listed as an enabled event for the webhook.
post/webhooks/{id}/disable
Request
- Base URLhttps://api.sandbox.waza.co/payouts/v1
- URLhttps://api.sandbox.waza.co/payouts/v1/webhooks/{id}/disable
- Authnone required
Path parameters
idstring required
The unique {id} of the webhook.
Headers
x-waza-keystring
your app key
Response
200
Example response
{
"data": {
"id": "0f21e451-d2a2-4630-be1d-9afeb509375d",
"created_at": "2023-08-10T09:36:05.941Z",
"updated_at": "2023-08-10T09:36:05.941Z",
"state": "DISABLED",
"url": "https://127.0.0.1:3001",
"secret": "1234",
"enabled_events": [
"transaction.created"
]
}
}Changes
- info
endpoint added
- info