Delete Webhook

This API allows users to delete a webhook by its webhook ID.

Endpoint Information

Property Value
URL {{APP_URL}}/api/v1/webhooks/{webhook_id}
HTTP Method DELETE
Content Type application/json
Authentication APIKEY header

Request Parameters

URL Parameters

Parameter Name Parameter Type Required Description
webhook_id Integer REQUIRED Webhook ID

Example Usage

API Request

Below is an example HTTP raw request for the API request.

DELETE {{APP_URL}}/api/v1/webhooks/1
Content-Type: application/json
APIKEY: {{APIKEY}}

API Response

On a successful request, the API will return a response like the following:

{
    "status": true,
    "message": "Webhook deleted successfully",
    "data": null
}

Error Responses

If the API request fails, the API will return an error response like the following:

{
    "status": false,
    "errors": [
        {
            "message": "Webhook not found"
        }
    ]
}