---
title: "Undo a bulk upload"
method: DELETE
path: "/api/bulk/{id}"
---

# Undo a bulk upload

`DELETE /api/bulk/{id}`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/bulk/{id}`
- Auth: HTTP bearer

Cancels every post of the upload (its batch_id) that has not gone out, and withdraws the ones waiting for approval. Posts already published stay.

## Path parameters

- `id` string, required

## Response `200`

{ ok, batch_id, canceled, already_out, message }

## Other responses

- `404`: not_found

---

[API](https://skmtc.dev/postwire/apis/postwire-api.md) · [All operations](https://skmtc.dev/postwire/apis/postwire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postwire/apis/postwire-api/revisions/513a409ab8f7?raw)
