For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Webhook

Delete a webhook configuration.

Removes a webhook configuration. You will stop receiving event notifications at the webhook URL.

Endpoint

DELETE /v1/webhooks/:id

Authentication

This endpoint requires a business-user JWT (not an API key).

Header
Value

Authorization

Bearer <jwt>

Required roles: BUSINESS_ADMIN or BUSINESS_DEVELOPER.

Path parameters

Parameter
Type
Description

id

string

Webhook UUID

Example request

curl -X DELETE https://ramp-api.ivorypay.io/api/v1/webhooks/wh-uuid-1 \
  -H "Authorization: Bearer <jwt>"
const response = await fetch("https://ramp-api.ivorypay.io/api/v1/webhooks/wh-uuid-1", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer <jwt>",
  },
});

const data = await response.json();
console.log(data);
import requests

response = requests.delete(
    "https://ramp-api.ivorypay.io/api/v1/webhooks/wh-uuid-1",
    headers={
        "Authorization": "Bearer <jwt>",
    },
)

print(response.json())

Example response

Last updated