Skip to main content

Delete Webhook

Deleting a webhook allows you to remove a previously configured webhook from your system. This process ensures that you will no longer receive notifications or updates associated with that webhook. To delete a webhook, you'll need to send a DELETE request to the specified endpoint. The request should include the unique id of the webhook you wish to remove.

Endpoint: https://api.amlwatcher.com/api/webhook/:webhook_id

Method: GET

Sample Request
GET /api/webhook/:webhook_id HTTP/1.1
Host: api.amlwatcher.com
Authorization: Bearer Token

Request

ParametersRequiredTypeDescription
webhook_idYesStringIt is the unique Id, assigned with each webhook.

Response

ParametersDescription
errorWhenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty.
statusThe status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively.
dataAn array/object containing the actual response elements.
Sample Respone
{
"data": {
"message": "Webhook deleted successfully"
},
"error": false,
"status": "SUCCESS"
}