cURL
curl --request DELETE \ --url https://api.usecobalt.com/v1/webhook/{id} \ --header 'access_token: <api-key>' \ --header 'client_id: <api-key>' \ --header 'client_secret: <api-key>'
{ "success": true, "message": "<string>" }
Deletes a webhook endpoint. Once deleted, no further events will be sent to the endpoint.
curl -X DELETE https://api.usecobalt.com/v1/webhook/wh_123456789 \ -H 'Content-Type: application/json' \ -H 'client_id: ci_live_198908HJDKJSH98789OHKJL' \ -H 'client_secret: cs_live_9827hofdsklOYYHJLJh'
{ "success": true, "message": "Webhook deleted successfully" }
The webhook ID
Successful response
The response is of type object.
object