Skip to main content
DELETE
/
api
/
v1
/
collections
/
webhooks
/
{webhookId}
Remove a webhook
curl --request DELETE \
  --url https://dev-api-partner.onecluster.co/api/v1/collections/webhooks/{webhookId} \
  --header 'Authorization: <api-key>'
{
  "type": "https://api-partner.onecluster.co/errors/insufficient-funds",
  "title": "Insufficient Funds",
  "status": 422,
  "detail": "The account balance is ₦0.00. You need at least ₦50,000.00 to complete this transfer.",
  "instance": "/api/v1/payments/transfer",
  "correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "code": "INSUFFICIENT_FUNDS"
}

Authorizations

Authorization
string
header
required

Your API key, formatted as: ApiKey ubn_sb_your_key_here

  • Sandbox keys start with ubn_sb_
  • Production keys start with ubn_pk_
  • Never use production keys during testing — they will charge real money

Headers

X-Correlation-ID
string<uuid>

A UUID v4 you generate to trace this request through our systems. If you don't provide one, we generate it for you. Always include it in support requests — it helps us find your request in logs.

Example:

"7f3a9c21-4e8b-4a12-b6d1-3c8a7f2e1b09"

Path Parameters

webhookId
string<uuid>
required

Response

Webhook removed successfully