Amend PositionPATCH
Modifies multi-level take profit and stop loss orders for an existing position
Authorization
AuthorizationRequiredBearer <token>JWT token obtained from the login endpoint
In: header
Request Body
application/jsonRequiredposition_idstringPosition ID to amend (required for WebSocket, extracted from URL for HTTP)
tp_levelsarray<object>Multi-level take profit configuration. Omit for no changes, empty array [] to cancel all, or provide levels to create/modify
sl_levelsarray<object>Multi-level stop loss configuration. Omit for no changes, empty array [] to cancel all, or provide levels to create/modify
Path Parameters
account_idRequiredstringThe account ID where position to amend belongs
position_idRequiredstringPosition ID to amend
Position amended successfully