Delete a source
Delete a source and its webhooks. Its destinations stay.
DELETE
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.
header
AuthorizationBearer <unm_ followed by 40 letters and digits>A token from the CLI page in Unmissed. Revoke it there to stop it working.
source*integerThe source's id, from List sources.
Format
int64What was deleted.
application/json- response
deleted*message*stringcurl -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."
}