---
title: "Admin Reset Targets"
method: POST
path: "/admin/surveys/{survey_id}/reset"
---

# Admin Reset Targets

`POST /admin/surveys/{survey_id}/reset`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/admin/surveys/{survey_id}/reset`
- Auth: none declared. Required headers: `x-admin-key`

Reset a machine's survey state for RE-TESTING: deletes its stored response and clears the
target's funnel columns + token while KEEPING the assignment, so /survey/pending serves the
survey again. Built for the self-test loop (Dario, 2026-08-07: three answers deep with no way
to retry). Resetting a real user's target re-surveys them — deliberate admin action.

## Path parameters

- `survey_id` integer, required

## Headers

- `x-admin-key` string, required

## Request body

- TargetsBody
  - `machine_ids` unknown[], required
    - unknown
  - `confirm` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
