---
title: "Deleting a Submission"
method: DELETE
path: "/v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}"
tags: ["Submissions"]
---

# Deleting a Submission

`DELETE /v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}`

When a Submission is deleted, there is a period of time (30 days) during which it can be restored. After this time, all of its resources and attachments are automatically purged. Purging deleted Submissions can also be triggered from the command line.

## Path parameters

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

## Response `200`

OK

- Success
  - `success` boolean, required

## Other responses

- `404` — Not Found

## Changes

- **2025-12-20** `022694254f0d` — 1 info
  - api operation id `Deleting a Submission` removed and replaced with `deleteSubmission`
- **2025-10-27** `b11b54eea487` — 1 info
  - removed the non-success response with the status `403`
- **2025-03-13** `e8c2858fd4eb` — 2 info
  - api operation id `deleteSubmission` removed and replaced with `Deleting a Submission`
  - 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/submissions/:instanceId/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)
