POST
/
api
/
v2
/
public
/
webhook
/
unsubscribe
curl --request POST \
  --url https://api.gocobalt.io/api/v2/public/webhook/unsubscribe \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "webhook_event": "<string>"
}'
{
    "webhook_url": "https://mysite.com/cobalt/webhook",
    "webhook_events": [
        "connected-created",
        "workflow-completed"
    ]
}

This api unsubscribes user from a Cobalt webhook events.

Request description

Body Parameters

webhook_event
string
required

Webhooks event to unsubscribe. Accepted values are, connected-created, connection-deleted, workflow-completed, workflow-errored.

Response description

webhook_url
string

Registered webhook url

webhook_events
array

Subscribed events.