Skip to Content
Unmissed Cloud is coming soon.Join the waitlistJoin
Unmissed

Disconnect a destination

Stop a source's webhooks going to a destination. The destination stays.

DELETE
/api/v1/sources/{source}/destinations/{destination}

Stops this source's webhooks going to the destination. Webhooks from this source still waiting for their first try there are dropped, and ones being retried stop and count as failed. The destination stays, with its history, for other sources or to connect again.

Only admins can disconnect destinations.

A connected app needs the write scope: full access.

Authorization

headerAuthorizationBearer <unm_ followed by 40 letters and digits>

A token from the CLI page in Unmissed. Revoke it there to stop it working.

Path Parameters

source*integer

The source's id, from List sources.

Formatint64
destination*integer

The destination's id, from List destinations.

Formatint64

Response Body

What stopped.

application/json
  1. response
source_id*integer
Formatint64
destination_id*integer
Formatint64
dropped*integer

Webhooks from this source still waiting for their first try there, which won't be sent.

stopped*integer

Webhooks from this source being retried there, which stop and count as failed.

message*string
Example Request
curl -X DELETE 'http://localhost:8080/api/v1/sources/0/destinations/0' \
  -H 'Authorization: Bearer '
Example Response
{
  "source_id": 1,
  "destination_id": 3,
  "dropped": 0,
  "stopped": 2,
  "message": "Webhooks from Stripe stop going to destination #3. The destination stays."
}