PATCH /v2/portfolio-wallets/{id}/strategy to update an existing portfolio wallet’s target allocation (the positions[] weights).
What you need
- A portfolio wallet id (
GET /v2/portfolio-walletsorGET /v2/portfolio-wallets/{id}) - New target
positions[](weights must sum to 10,000 bps)
Tutorial: update an existing wallet’s allocation
1) Pick the new target positions
If you want help generating a good allocation, use the quote flow:
GET /v2/portfolio-wallets/yield-sources(discover available position keys)POST /v2/portfolio-wallets/quote(generate suggested allocations)
strategyConfig.positions[]. When updating a wallet, you pass those positions as positions[] in the PATCH request.2) Send the strategy update request
Example:In the response, you’ll receive
cURL
{ "status": "pending_approval", "turnkeyActivityId": "..." }.3) Approve the update
If you receive
status: pending_approval, complete the approval flow using the returned turnkeyActivityId, then Braid will continue processing automatically. Check out our Turnkey Approvals doc for more information on how to sign a turnkeyActivityId.Strategy update statuses
strategy.status (from portfolio_wallet.strategy.status_changed) can be:
pending_approval: The update was requested and is awaiting approval (for example, through Turnkey). The update response includesturnkeyActivityId.processing: Rebalancing is in progress.completed: The update has been applied.failed: The update did not complete successfully (the payload may include afailureReason).
Early view: Strategy updates are an early view of our portfolio strategy update functionality. More detailed documentation on the strategy update / rebalancing lifecycle will be shared shortly.

