---
title: "Cancel a pending upload"
method: DELETE
path: "/api/v1/uploads/{id}"
tags: ["Uploads"]
---

# Cancel a pending upload

`DELETE /api/v1/uploads/{id}`

## Request

- Base URL: `https://app.probbai.com`
- URL: `https://app.probbai.com/api/v1/uploads/{id}`
- Auth: HTTP bearer

Release an unused preparation when an application is withdrawn or you no longer intend to upload its resume.

## Before you call

Use the reportId from preparation. Only unadmitted preparations can be cancelled. No JSON body or Idempotency-Key is needed.

**Required scope:** `analyses:write`.

## What happens next

A 204 has no response body. The pending preparation no longer consumes preparation capacity; this does not cancel an accepted analysis.

## Recovery

Cancellation is safe to repeat for an absent preparation. A conflict means analysis has already been admitted; inspect report status.

[Follow the complete workflow](/integration-api/) · [Errors and retries](/api-errors/)

## Path parameters

- `id` string, required

## Response `204`

A 204 has no response body. The pending preparation no longer consumes preparation capacity; this does not cancel an accepted analysis.

## Other responses

- `400`: Invalid input or cursor
- `401`: Invalid, expired, or revoked API key
- `403`: Disabled organisation or missing scope
- `405`: Method not allowed; consult Allow for supported methods
- `409`: Cancellation is safe to repeat for an absent preparation. A conflict means analysis has already been admitted; inspect report status.
- `429`: Request limit exceeded
- `500`: Unexpected failure
- `503`: Service unavailable

---

[API](https://skmtc.dev/probbai/apis/probb-ai-customer-api.md) · [All operations](https://skmtc.dev/probbai/apis/probb-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/probbai/apis/probb-ai-customer-api/revisions/33a3294530e4?raw)
