---
title: "Changes to Update a questionnaire"
method: PATCH
path: "/api/questionnaires/{id}"
---

# Changes to Update a questionnaire

`PATCH /api/questionnaires/{id}`

> Every recorded change to this operation, newest first.
> 108 revisions in range; 2 not diffed.

## Timeline

Changed in 4 of 108 revisions.

- **2026-10-28** `83309c4abd20`: 1 info
- **2026-10-05** `43a47823848e`: 5 breaking, 1 warning, 2 info
- **2026-08-31** `97e51f27dc77`: 13 breaking, 13 info
- **2026-08-13** `8b48cb95655b`: 1 info

## Changes

- **2026-10-28** `83309c4abd20`: 1 info
  - the `description` request property's maxLength was increased from `500` to `1024`
- **2026-10-05** `43a47823848e`: 5 breaking, 1 warning, 2 info
  - removed `subschema #1, subschema #2` from the `description` request property `anyOf` list
  - removed `subschema #1, subschema #2` from the `dueDate` request property `anyOf` list
  - added the pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` to the request property `dueDate`
  - the `description` request property type changed from no type to `string`
  - the `dueDate` request property type changed from no type to `string`, and format from no format to `date-time`
  - the `description` request property's maxLength was set to `500`
  - the request property `description` became nullable
  - the request property `dueDate` became nullable
- **2026-08-31** `97e51f27dc77`: 13 breaking, 13 info
  - removed `subschema #1, subschema #2` from the `dueDate` request property `anyOf` list
  - request property `description/anyOf[subschema #2]/` was restricted to a list of enum values
  - the `description/anyOf[subschema #2]/` request property type changed from `null` to `string`
  - the response property `data/companyId` became nullable for the status `200`
  - the response property `data/description` became nullable for the status `200`
  - the response property `data/isActive` became nullable for the status `200`
  - the response property `data/isArchived` became nullable for the status `200`
  - the response property `data/isRetraced` became nullable for the status `200`
  - the response property `data/isTemplate` became nullable for the status `200`
  - the response property `data/name` became nullable for the status `200`
  - the response property `data/statistics` became nullable for the status `200`
  - the response property `data/status` became nullable for the status `200`
  - the response property `data/templateId` became nullable for the status `200`
  - added `subschema #1, subschema #2` to the `dueDate` request property `anyOf` list
  - the request property `description/anyOf[subschema #2]/` became nullable
  - added the new `undefined` enum value to the request property `description/anyOf[subschema #2]/`
  - response property `data/companyId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/description` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/isActive` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/isArchived` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/isRetraced` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/isTemplate` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/name` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/statistics` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/status` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/templateId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-08-13** `8b48cb95655b`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/retraced/apis/api-reference/docs/api/questionnaires/:id/patch.md) - [API](https://skmtc.dev/retraced/apis/api-reference.md) - [Page](https://skmtc.dev/retraced/apis/api-reference/changes/api/questionnaires/:id/patch)
