Atomically replace an auto-rebalance config
Replace the mode configuration without leaving the position without persisted automation.
x-api-key<token>
In: header
Path Parameters
id*string
Auto-rebalance config UUID
Header Parameters
X-Trade-Account-Id*string
UUID of the trade account the request acts on. Must belong to the authenticated user.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/rebalance/auto/string/replace" \ -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \ -H "Content-Type: application/json" \ -d '{ "weightSource": "INITIAL_WEIGHT", "minimumDriftPct": "0.05" }'{ "config": { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "positionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "status": "ACTIVE", "pausedReason": "USER", "minimumDriftPct": "1250.75", "createdAt": "2026-01-15T09:30:00.000Z", "updatedAt": "2026-01-15T09:30:00.000Z", "weightSource": "INITIAL_WEIGHT" }}Update an auto-rebalance config PATCH
Update drift threshold, timeframe, or status (ACTIVE/PAUSED). Reactivating re-validates the watched position, so a config whose pair no longer holds is rejected rather than silently reactivated.
Cancel an auto-rebalance config POST
Cancel a config: it stops polling and drops out of lists; rebalance history is retained.