Skip to content
PayloadPuffin.
Join the waitlist

Delete a destination

DELETE/v1/destinations/{destinationId}preview

Delete a destination. Historical deliveries remain available.

Path parameters

  • destinationId string Required

    A destination ID, starting with dst_.

Returns

200

The command completed.

  • data object Required

    The deleted destination.

    • id string Required

      A destination ID, starting with dst_.

Example

Request
curl -X DELETE "https://api.payloadpuffin.com/v1/destinations/$DESTINATIONID" \
  -H "Authorization: Bearer $PAYLOADPUFFIN_API_KEY"
Response 200
{
  "data": {
    "id": "id"
  }
}

Errors

Errors use application/problem+json. The code member is stable; branch on it rather than on title or detail.

  • 4XX application/problem+json

    The request was rejected.