---
title: "Delete a form"
method: DELETE
path: "/api/forms/{formId}"
tags: ["Forms"]
---

# Delete a form

`DELETE /api/forms/{formId}`

Deletes a form and all its definitions and submissions.

## Path parameters

- `formId` integer, required

## Response `200`

Success

- string

## Other responses

- `400` — Invalid input data.
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Form not found.

## Changes

- **2025-11-21** `50eff5014b78` — 1 breaking
  - removed the media type `application/problem+json` for the response with the status `400`
- **2025-03-24** `fbc3fe6ecbf1` — 1 info
  - added the media type `application/problem+json` for the response with the status `400`

[Change history](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/changes/api/forms/:formId/delete.md)

---

[API](https://skmtc.dev/endatix/apis/endatix-platform-rest-api.md) · [All operations](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/endatix/endatix-platform-rest-api/revisions/01bd299fd100/schema)
