Utopia PaymentsDocs
Webhooks

Delete a webhook endpoint

DELETE
/webhooks/{id}

Authorization

secretKey
AuthorizationBearer <token>

Your secret key: sk_live_… or sk_test_….

In: header

Path Parameters

id*string
Match^wh_[0-9a-f]{32}$

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/webhooks/wh_3f2b8c1e9a4d4e7b8c2a1d5e6f7a8b9c"
{  "object": "webhook",  "webhook_id": "wh_3f2b8c1e9a4d4e7b8c2a1d5e6f7a8b9c",  "deleted": true}