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

# Delete Draft

`DELETE /api/v1/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/v1/documents/drafts/{document_id}`
- Auth: HTTP bearer

Delete an unsent draft: the document row, its parts, and every GCS
object they own. Sent and completed envelopes are audit records and are
not deletable -- on one of those this answers 404 like a missing row.
`revision` is the same optimistic-concurrency token every other draft
mutation accepts; omit it to delete whatever revision is current.

## 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)
