Administration

Reset all three companies to the published demo baseline

Owner/admin route. Requires the single-use token from reset-preview and confirmed=true. The reset serializes per workspace, prepares statement objects before changing rows, rebuilds all three companies transactionally with stable ids, validates balances/counts, preserves login/access/sponsorship/audit evidence, and never scopes outside the caller's demo firm.

post/demo/reset

Request

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

Request body

confirmationTokenstring required
confirmedtrue required
reasonstring nullable

Response

Completed reset or currently running reset

Changes

No recorded changes to this operation across all 5 revisions of this API.