Skip to main content
POST
Time Machine — undo a revert batch

Authorizations

Authorization
string
header
required

JWT Bearer token for user session auth. Format: "Bearer {token}". Used by User and Organization endpoints.

Path Parameters

batchId
string
required

Batch id returned by the revert call

Body

application/json
reason
string

Why the undo happened — stored in the audit trail and webhook events. Defaults to a generated message.

Minimum string length: 3
Example:

"Reverted the wrong day — restoring"

preview
boolean
default:false

Dry run: per-account report of what the undo WOULD restore (and which accounts are blocked), nothing changed.

Example:

true

Response

Undo processed (check per-account failures)

success
boolean
Example:

true

message
string
Example:

"Restored 1 account to their pre-revert state"

data
object
Example: