---
title: "Update form"
method: PATCH
path: "/forms/{formId}"
tags: ["Forms"]
---

# Update form

`PATCH /forms/{formId}`

Updates a form's definition. Requires EDIT permission or higher.

## Request body

- FormUpdate
  - `title` string
  - `slug` string
  - `description` string, nullable
  - `structure` string, kdl
  - `live` boolean
  - `opens` string, date-time, nullable
  - `closes` string, date-time, nullable
  - `anonymous` boolean
  - `max_responses` integer, nullable
  - `individual_limit` integer
  - `editable_responses` boolean

## Response `200`

Form updated successfully.

- Form
  - `id` string, ulid, required
  - `owner` string, ulid, required
  - `title` string, required
  - `slug` string, required
  - `description` string, nullable
  - `structure` string, kdl, required
  - `live` boolean, required
  - `opens` string, date-time, nullable
  - `closes` string, date-time, nullable
  - `anonymous` boolean
  - `max_responses` integer, nullable
  - `individual_limit` integer
  - `editable_responses` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity

## Changes

- **2025-07-14** `3fcd68b489c2` — 5 info
  - added the new optional request property `anonymous`
  - added the optional property `anonymous` to the response with the `200` status
  - the `editable_responses` response's property default value `false` was added for the status `200`
  - the `individual_limit` response's property default value `1` was added for the status `200`
  - …1 more
- **2025-07-13** `02015e1343c5` — 1 info
  - endpoint added
- **2025-07-13** `0d7f3c750979` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/osdg-iiith/apis/forms-portal-api/changes/forms/:formId/patch.md)

---

[API](https://skmtc.dev/osdg-iiith/apis/forms-portal-api.md) · [All operations](https://skmtc.dev/osdg-iiith/apis/forms-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/osdg-iiith/forms-portal-api/revisions/3fcd68b489c2/schema)
