---
title: "Sandbox Reset"
method: POST
path: "/api/asclepius/sandbox/reset"
tags: ["asclepius-sandbox"]
---

# Sandbox Reset

`POST /api/asclepius/sandbox/reset`

## Request

- Base URL: `https://app.archangelhealth.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.archangelhealth.ai/api/asclepius/sandbox/reset`
- Auth: none declared

Drop the three sandbox DBs and the sandbox asset dir, then reseed.

Guarded three times before a file is touched: the realm middleware (a
live token cannot reach this path), ``require_sandbox_admin`` (the realm
must be the sandbox), and the typed confirmation. ``sandbox_seed.reset``
then re-checks the realm and validates every path it is about to delete
is a derived sandbox path (§6.6).

## Headers

- `authorization` string, nullable

## Request body

- ResetBody
  - `confirm` string
  - `fresh` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform.md) - [All operations](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform/revisions/3514f4e119da?raw)
