---
title: "Deleting a Draft Form"
method: DELETE
path: "/v1/projects/{projectId}/forms/{xmlFormId}/draft"
tags: ["Draft Form"]
---

# Deleting a Draft Form

`DELETE /v1/projects/{projectId}/forms/{xmlFormId}/draft`

Once a Draft Form is deleted, its definition and any Form Attachments associated with it will be removed.

You will not be able to delete the draft if there is no published version of the form.

## Path parameters

- `projectId` number, required
- `xmlFormId` string, required

## Response `200`

OK

- Success
  - `success` boolean, required

## Changes

- **2025-12-20** `022694254f0d` — 1 info
  - api operation id `Deleting a Draft Form` removed and replaced with `deleteDraftForm`
- **2025-10-27** `b11b54eea487` — 1 info
  - removed the non-success response with the status `403`
- **2025-03-13** `e8c2858fd4eb` — 2 info
  - api operation id `deleteDraftForm` removed and replaced with `Deleting a Draft Form`
  - added the non-success response with the status `403`

[Change history](https://skmtc.dev/getodk/apis/odk-central-api/changes/v1/projects/:projectId/forms/:xmlFormId/draft/delete.md)

---

[API](https://skmtc.dev/getodk/apis/odk-central-api.md) · [All operations](https://skmtc.dev/getodk/apis/odk-central-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getodk/odk-central-api/revisions/d4f5ba77f644/schema)
