---
title: "Regenerate the Preview sample firm for today's date"
method: POST
path: "/sample-firm/reset"
tags: ["Administration"]
---

# Regenerate the Preview sample firm for today's date

`POST /sample-firm/reset`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/sample-firm/reset`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Owner/admin Preview-host route. Requires the token from reset-preview and confirmed=true. Regenerates the four sample companies' books, feeds, statements, reconciliations, payables, W-9 requests, requests, and CRM records dated to the current calendar, and clears the firm's notifications. Archives any other company on this Preview firm. Does not touch production Sentinel or shoot slots 1–3.

## Request body

- object
  - `confirmationToken` string, required
  - `confirmed` true, required
  - `reason` string, nullable

## Response `200`

Completed reset

## Other responses

- `400`: Missing confirmation or expired token
- `409`: No baseline exists
- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
