DELETE
/
webhooks
/
{endpoint}
curl --request DELETE \
  --url https://api.notchpay.co/webhooks/{endpoint} \
  --header 'Authorization: <api-key>'
{
  "code": 202,
  "status": "Accepted",
  "message": "Webhook endpoint deleted successfully"
}

Authorizations

Authorization
string
header
required

Path Parameters

endpoint
string
required

Unique identifier of the webhook

Response

202
application/json

Webhook endpoint deleted

The response is of type object.