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