Skip to main content
POST
Time Machine — bulk revert accounts to a trading day

Authorizations

Authorization
string
header
required

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

Body

application/json
tradingDay
string
required

Chicago trading day (YYYY-MM-DD) to revert TO

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-07-07"

reason
string
required

Why — audit trail, account metadata, webhooks

Minimum string length: 3
Example:

"CME data feed outage on 2026-07-08"

accountIds
string[]

Specific accounts to revert (max 1000 per call)

Required array length: 1 - 1000 elements
allAccounts
enum<boolean>

Revert every account in the organization with activity after the target day (post-day trades or snapshots) — including accounts created during the outage day itself. Untouched accounts are skipped.

Available options:
true
preview
boolean
default:false

Dry run: per-account report of what WOULD happen, nothing changed. Use it to build the confirmation screen before an org-wide revert.

Example:

true

Response

Bulk revert processed (check per-account failures)

success
boolean
Example:

true

message
string
Example:

"Reverted 42 accounts to 2026-07-07"

data
object
Example: