---
title: "Delete questionnaire templates as the Retraced admin"
method: DELETE
path: "/api/admin/questionnaires/templates/"
tags: ["Administration/Questionnaire Templates"]
---

# Delete questionnaire templates as the Retraced admin

`DELETE /api/admin/questionnaires/templates/`

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.

## Request body

- object
  - `templateIds` string[], required

## Response `204`

No content

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
