Skip to content

Replace the strategy's connections. Each account must belong to the

PUT
/admin/strategies/{code}/connections
curl --request PUT \
--url http://localhost:3001/admin/strategies/string/connections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[{"account_id":"00000000-0000-0000-0000-000000000000","broker_code":"string"}]'

Strategy’s portfolio and sit on a connection of the named broker; a broker code may appear once.

code
required
string

Strategy code

Media typeapplication/json
Array<object>
object
account_id
required
string format: uuid
broker_code
required
string

Example generated

[
{
"account_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"broker_code": "example"
}
]

Replaced

A broker twice, or an account of another portfolio or broker

Not found