---
title: "Preview a sample-firm reset"
method: POST
path: "/sample-firm/reset-preview"
tags: ["Administration"]
---

# Preview a sample-firm reset

`POST /sample-firm/reset-preview`

## Request

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

Creates a ten-minute confirmation token for regenerating the Preview sample firm. Any company other than the four sample companies on this firm is archived on execute. Shoot slots stay separate.

## Response `200`

Reset preview and confirmation token

## Other responses

- `404`: Not the Preview sample firm
- `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)
