Skip to content

Restore a snapshot

POST
/sandbox/fixtures/restore

Restore the fixture rows to a previously saved snapshot.

Only sandbox-fixture rows (meta.sandbox_fixture = true) are replaced — any records you created through normal API calls in this sandbox are left untouched. Snapshots are taken over the same fixture-scoped set, so a restore round-trips exactly what /fixtures/snapshot captured.

Authorizations

Parameters

Query Parameters

name
string
default: default >= 1 characters <= 64 characters /^[A-Za-z0-9_\-]+$/

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
action
required
string
name
required
string
sandbox
boolean
default: true
tables
required
Array<string>

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string