---
title: "Discard the draft"
method: DELETE
path: "/drops/{slug}/draft"
---

# Discard the draft

`DELETE /drops/{slug}/draft`

## Request

- Base URL: `https://ship.page`
- URL: `https://ship.page/drops/{slug}/draft`
- Auth: HTTP bearer

Discards the draft only if nobody saved since the draft_rev you pass.

## Query parameters

- `draft_rev` integer, required

## Response `200`

Draft discarded.

- object
  - `draft` unknown

## Other responses

- `400`: Bad request — unparseable body, bad paths, invalid ttl/name, per-request file cap, invalid zip.
- `401`: Missing or invalid credential.
- `402`: Subscriber-gated feature on a free account. The body's `hint` and `upgrade_url` tell the user how to upgrade.
- `404`: Not found (also returned for resources owned by someone else).
- `409`: draft_changed: the draft changed elsewhere. The body's `draft` is the server copy (null when it was published or discarded).
- `410`: The drop has expired (expired).
- `429`: Rate limited. Back off per the Retry-After header (60s).
- `503`: Required backend unavailable. Password creation and rotation fail closed when billing cannot be verified; retry later.

## Changes

- **2026-10-20** `99aad34506e8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ship/apis/ship-page/changes/drops/:slug/draft/delete.md)

---

[API](https://skmtc.dev/ship/apis/ship-page.md) · [All operations](https://skmtc.dev/ship/apis/ship-page/llms.txt) · [OpenAPI document](https://skmtc.dev/ship/apis/ship-page/revisions/99aad34506e8?raw)
