Administration/Questionnaire Templates
Edit a question template
Changed onReplaces a question of the admin question-template library and its options, with the same body rules as the create: optional fields left out are stored empty, and the options replace the stored ones with new rows. The category must exist: 400 invalid_question_template_category otherwise. Responds with the question in the { data, metadata } envelope (legacy answered 201 with the bare record). 404 question_template_not_found for an unknown id, with nothing written (legacy: not_found, after rewriting the options).
put/api/admin/questionnaires/question-templates/{id}
Request
- Base URLhttps://api.retraced.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.retraced.com/api/admin/questionnaires/question-templates/{id}
- Authnone declared
Path parameters
idstring required
Request body
Response
Default Response
Changes
- info
endpoint added
- info