---
title: "Abort a pending preview upload batch (a never-published preview is discarded too)"
method: DELETE
path: "/previews/uploads/{batchId}"
tags: ["Previews"]
---

# Abort a pending preview upload batch (a never-published preview is discarded too)

`DELETE /previews/uploads/{batchId}`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/previews/uploads/{batchId}`
- Auth: `bearer` (a scheme the document does not define)

## Path parameters

- `batchId` string, required

## Response `204`

## Other responses

- `401`: Not authenticated
- `403`: Not the preview owner
- `404`: Upload batch id not found
- `409`: The batch already finalized or expired

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
