latestOpenAPI 3.0.32026-08-22505302.1 MB

60d6c901bc4e

Administration/Questionnaire Templates

Delete questionnaire templates as the Retraced admin

Permanently deletes the given questionnaire templates. All-or-nothing: every id must belong to the calling company and be a template, and none may be Retraced-owned unless the caller is a Retraced admin — otherwise nothing is deleted. The rows are removed rather than flagged, and their sections and questions are orphaned rather than deleted, as in the legacy route. The tenant twin is DELETE /api/questionnaires/templates; this one is guarded on the admin right instead.

delete/api/admin/questionnaires/templates/

Request body

templateIdsstring[] required

Response

No content