sb_undo
Revert a management API write made through sb_api_call. Restores replaced settings, products, or forms temporarily within the process; pages use platform history instead.
Instructions
Put back what a PUT through sb_api_call replaced — settings, a product, a form, anything with a shape. IN THIS PROCESS ONLY, capped, and gone when it exits. For a PAGE the platform keeps its own: GET .../pages/{pageId}/history lists the autosave checkpoint it writes on every draft save, versions lists the labelled snapshots, and either restores. That one survives everything and is the better answer whenever the thing to recover is a page. No argument lists what is undoable here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 1 is the most recent write | |
| dry_run | No |