---
title: "Publish or hide a questionnaire template as the Retraced admin"
method: PATCH
path: "/api/admin/questionnaires/templates/{id}"
tags: ["Administration/Questionnaire Templates"]
---

# Publish or hide a questionnaire template as the Retraced admin

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

Flips the `isActive` flag on a Retraced-owned template. `1` publishes it into the shared pool, where it appears in every company's template picker; `0` withdraws it while leaving it listed and editable in the admin templates table. Only Retraced-owned templates are reachable — a company-owned template answers 404, whichever company the caller belongs to. Nothing else on the template is writable here: the name and content go through `PUT /api/admin/questionnaires/templates/:id`.

## Path parameters

- `id` string, required

## Request body

- object
  - `isActive` union, required
    - 0
    - 1

## 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)
