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"
}
]
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"
}
]
default
and slack
.[
{
"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"
}
]