curl --request DELETE \
--url https://api.gocobalt.io/api/v2/public/webhook/:id \
--header 'x-api-key: <api-key>'
[
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e58b8d19becbeeea0bd11a",
"createdAt": "2024-09-14T13:11:41.043Z",
"webhook_type": "default"
},
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted"
],
"webhook_url": "https://webhookurl.com/newwebhook",
"_id": "66e5963a51b0a208fecbca31",
"createdAt": "2024-09-14T13:57:14.398Z",
"webhook_type": "slack"
}
]
This API deletes a registered Cobalt webhook.
Request description
Path Parameters
Unique ID of the webhook to be deleted.
Response description
Whether the webhook is active or not.
Webhook events subscribed.
Timestamp of webhook creation.
Webhook URL to listen to the events.
Unique ID of the webhook.
The type of webhook. Accepted values are default
and slack
.
Whether the webhook is active or not.
Webhook events subscribed.
Timestamp of webhook creation.
Webhook URL to listen to the events.
Unique ID of the webhook.
The type of webhook. Accepted values are default
and slack
.
System generated status Code
System generated error type
Specific error code to identify the error
System generated request id
[
{
"is_enabled": true,
"webhook_events": [
"Connection Created",
"Connection Deleted",
"Workflow Completed",
"Workflow Errored",
"Connection Expired"
],
"webhook_url": "https://webhook-test.com/558cf4700d31e6ded9b097ca09686439",
"_id": "66e58b8d19becbeeea0bd11a",
"createdAt": "2024-09-14T13:11:41.043Z",
"webhook_type": "default"
},
{
"is_enabled": false,
"webhook_events": [
"Connection Created",
"Connection Deleted"
],
"webhook_url": "https://webhookurl.com/newwebhook",
"_id": "66e5963a51b0a208fecbca31",
"createdAt": "2024-09-14T13:57:14.398Z",
"webhook_type": "slack"
}
]