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.
GET/api/webhook/:webhook_id
GET https://api.amlwatcher.com/api/webhook/:webhook_id HTTP/1.1Host: api.amlwatcher.comAuthorization: Bearer Token
Request
Parameters | Required | Type | Description |
---|---|---|---|
webhook_id | Yes | String | It is the unique Id, assigned with each webhook. |
Response
Parameters | Description |
---|---|
error | Whenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty. |
status | The status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively. |
data | An array/object containing the actual response elements. |
Sample Response
{
"data": {
"message": "Webhook deleted successfully"
},
"error": false,
"status": "SUCCESS"
}