Endpoint to delete webhook.

Request:

Query ParameterTypeDescription
businessIdstringUnique identifier for business
FieldTypeDescription
idStringUnique identifier of webhook to be deleted

Example request

curl --location 'https://api.vendy.money/webhooks/delete-webhook?businessId=1' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '{
		"id":"39a1e4bf-fbc3-4b78-9555-c50f8cfa17bw"
}'

Response:

FieldTypeDescription
statusBooleanStates if request was successfully executed or not
codeIntegerInternal code, success if 200
msgStringA description of the status of the request
dataJSON

Example response

{
    "status": true,
    "code": 200,
    "msg": "success",
    "data": {}
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!