Administration/Questionnaire Templates

Delete questionnaire templates as the Retraced admin

Changed on

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

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/questionnaires/templates/
  • Auth
    none declared

Request body

templateIdsstring[] required

Response

No content

'null' nullable required

No content

Changes