Skip to main content
POST
Detach TP/SL bracket leg from an order

Body

application/json

Detach bracket leg(s) from an existing parent order

account_id
string<uuid>
required

UUID of the trading account

Example:

"550e8400-e29b-41d4-a716-446655440000"

order_id
string<uuid>
required

UUID of the parent entry order (or one of its child orders)

Example:

"7c9e6679-7425-40de-944b-e07fc1f90ae7"

leg
string | null

Which leg to detach: "take_profit", "stop_loss", or "both" (default)

Example:

"both"

Response

Bracket detached successfully

order
any
required
detached_stop_loss_order
any | null
detached_take_profit_order
any | null