Disable Webhook
Use this API to disable a webhook subscription identified by :webhook_id.
Endpoint
Section titled “Endpoint”DELETE /api/v1/integrations/erp/webhooks/:webhook_idRequest
Section titled “Request”curl -X DELETE 'https://[base_url]/api/v1/integrations/erp/webhooks/:webhook_id' \ -H 'Content-Type: application/json' \ -H 'Authorization: Basic <token>'Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_id | string | Yes | Webhook subscription ID. |
Response
Section titled “Response”HTTP 200
{ "status": "success"}Errors
Section titled “Errors”| Code | HTTP Code | Description |
|---|---|---|
HUE00000 | 400 | Bad request error. |