PearPear

Update an auto-rebalance config

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.

PATCH
/rebalance/auto/{id}
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.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/rebalance/auto/string" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \  -H "Content-Type: application/json" \  -d '{}'
{  "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"  }}