---
title: "Changes to Save a questionnaire template as the Retraced admin"
method: PUT
path: "/api/admin/questionnaires/templates/{id}"
---

# Changes to Save a questionnaire template as the Retraced admin

`PUT /api/admin/questionnaires/templates/{id}`

> Every recorded change to this endpoint, newest first.
> 22 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 22 revisions.

- **2026-08-31** `97e51f27dc77` — 38 breaking, 50 info
- **2026-08-22** `60d6c901bc4e` — 1 info

## Changes

- **2026-08-31** `97e51f27dc77` — 38 breaking, 50 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
  - request property `questions/items/description/anyOf[subschema #2]/` was restricted to a list of enum values
  - request property `questions/items/meta/anyOf[subschema #2]/` was restricted to a list of enum values
  - request property `questions/items/retracedDatapointId/anyOf[subschema #2]/` was restricted to a list of enum values
  - request property `questions/items/sectionId/anyOf[subschema #2]/` was restricted to a list of enum values
  - request property `sections/items/description/anyOf[subschema #2]/` was restricted to a list of enum values
  - request property `questions/items/meta` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the `description/anyOf[subschema #2]/` request property type/format changed from `null`/`` to `string`/``
  - the `questions/items/description/anyOf[subschema #2]/` request property type/format changed from `null`/`` to `string`/``
  - the `questions/items/meta/anyOf[subschema #2]/` request property type/format changed from `null`/`` to `string`/``
  - the `questions/items/retracedDatapointId/anyOf[subschema #2]/` request property type/format changed from `null`/`` to `string`/``
  - the `questions/items/sectionId/anyOf[subschema #2]/` request property type/format changed from `null`/`` to `string`/``
  - the `sections/items/description/anyOf[subschema #2]/` request property type/format 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/questions/items/companyId` became nullable for the status `200`
  - the response property `data/questions/items/description` became nullable for the status `200`
  - the response property `data/questions/items/questionTypeId` became nullable for the status `200`
  - the response property `data/questions/items/questionnaireSectionId` became nullable for the status `200`
  - the response property `data/questions/items/retracedDatapointId` became nullable for the status `200`
  - the response property `data/questions/items/sectionId` became nullable for the status `200`
  - the response property `data/questions/items/sortOrder` became nullable for the status `200`
  - the response property `data/questions/items/title` became nullable for the status `200`
  - the response property `data/questions/items/type` became nullable for the status `200`
  - the response property `data/sections/items/description` became nullable for the status `200`
  - the response property `data/sections/items/isRetraced` became nullable for the status `200`
  - the response property `data/sections/items/name` became nullable for the status `200`
  - the response property `data/sections/items/sortOrder` 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`
  - the `data/statistics` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added `subschema #1, subschema #2` to the `dueDate` request property `anyOf` list
  - the request property `description/anyOf[subschema #2]/` became nullable
  - …48 more
- **2026-08-22** `60d6c901bc4e` — 1 info
  - endpoint added

---

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