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

Delete a destination

Delete a destination no source sends to, with its deliveries.

DELETE
/api/v1/destinations/{destination}

Deletes a destination no source sends to, with its deliveries. The webhooks themselves stay with their sources. A destination a source still sends to can't be deleted: disconnect every source first.

Only admins can delete destinations. This can't be undone.

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

destination*integer

The destination's id, from List destinations.

Formatint64

Response Body

What was deleted.

application/json
  1. response
deleted*
message*string
Example Request
curl -X DELETE 'http://localhost:8080/api/v1/destinations/0' \
  -H 'Authorization: Bearer '
Example Response
{
  "deleted": {
    "destination": {
      "id": 3,
      "url": "https://app.example.com/…"
    },
    "deliveries": 40
  },
  "message": "Deleted destination #3 and its 40 deliveries."
}