# Delete a delivery

`DELETE https://api.parasend.com/v1/deliveries/{id}`

Source: https://parasend.com/docs/api/deliveries/delete

Authentication: `Authorization: Bearer <API key>` (a `ps_test_` key in test mode, `ps_live_` in live mode).

Schedules permanent removal of the delivery's documents, the recipient's contact details and the other data you can change, backups included. The sealed evidence record is not deleted: Parasend keeps it for the retention period from the delivery's last event, and the parties entitled to it can still obtain it. A delivery under legal hold (`legal_hold: true`) answers 409 `delete_blocked_legal_hold`, with the case reference in `error.detail`.

## Path parameters

- `id` (string, required): The delivery's ID, starting `dlv_`.

## Example: Delete a delivery

```bash
curl -X DELETE "https://api.parasend.com/v1/deliveries/dlv_01M6R27T05512SCV3852TPM2XY" \
  -H "Authorization: Bearer $PARASEND_KEY"
```

```js
const res = await fetch('https://api.parasend.com/v1/deliveries/dlv_01M6R27T05512SCV3852TPM2XY', {
  method: 'DELETE',
  headers: {
    Authorization: `Bearer ${process.env.PARASEND_KEY}`,
  },
});
const data = await res.json();
```

## Response 202

Deletion scheduled.

```json
{
  "delivery_id": "dlv_01M6R27T05512SCV3852TPM2XY",
  "delete_by": "2026-12-06T09:15:05.999Z",
  "evidence_retained_until": "2033-11-06T09:15:05.969Z"
}
```

Errors: one shape, `{"error": {type, code, message, param, request_id}}`; every code is listed at https://parasend.com/docs/errors.
