---
title: "Delete Draft"
method: DELETE
path: "/api/documents/drafts/{document_id}"
tags: ["drafts"]
---

# Delete Draft

`DELETE /api/documents/drafts/{document_id}`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/documents/drafts/{document_id}`
- Auth: HTTP bearer

Delete a whole draft: the row, its parts, and every GCS object they
own. Session-auth twin of DELETE /api/v1/documents/drafts/{id}.

## Path parameters

- `document_id` string, uuid, required

## Query parameters

- `revision` integer, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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