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

Delete a source

Delete a source and its webhooks. Its destinations stay.

DELETE
/api/v1/sources/{source}

Deletes the source and every webhook it received, with their deliveries. Its receiving URL stops working. The destinations it sent to stay, with their history, for other sources or to connect again.

Only admins can delete sources. 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

source*integer

The source's id, from List sources.

Formatint64

Response Body

What was deleted.

application/json
  1. response
deleted*
message*string
Example Request
curl -X DELETE 'http://localhost:8080/api/v1/sources/0' \
  -H 'Authorization: Bearer '
Example Response
{
  "deleted": {
    "source": {
      "id": 1,
      "name": "Stripe"
    },
    "webhooks": 12,
    "disconnected_destination_ids": [
      3
    ]
  },
  "message": "Deleted Stripe and its 12 webhooks. Its destination stays."
}