Update End Customer Account Status
POST{BASE_URL}/accounts/ec/status
Updates the lifecycle status of an end-customer account under the specified omnibus account. Allowed values are active, inactive, and closing_only.
Request
Responses
- 200
- 400
- 401
- 403
Status updated. The body is an empty JSON object.
The request could not be accepted, for example because the account or
symbol is unavailable, a required paired account is missing, buying power
or position is insufficient, required market pricing is unavailable, an
identifier is duplicated, or an order field or requested lifecycle action
is invalid. A missing account_number, or one not linked to the API key,
also returns 400 BasicInput_Error.
Missing or invalid X-API-KEY.
The API key is read-only and the request is not a GET.