Disable or re-enable a single account
Header Parameters
Authorizationstring
Path Parameters
idstring Required
Platform account ID.
Body Parameters
disabledboolean Required
true = disable the account + cascade-wind-down (force-close positions, cancel pendings + conditionals). false = re-enable (does NOT restore prior trades or orders).
reasonstring
Max length
500
Response
200
Object
Success.
Response Attributes
okboolean Required
dataobject Required
Show child attributes
400
Object
Client-side failure. Status code derived from error.code per the contract.
Response Attributes
okboolean Required
errorobject Required
Show child attributes
500
Object
Server-side failure.
Response Attributes
okboolean Required
errorobject Required
Show child attributes
Was this section helpful?
Response
Was this section helpful?