Skip to content
Longport Whale
Sub Account View

Disable Sub Account View

The inline "Disable/Close" button on a row of the sub-position view list, which disables the specified sub-position view. It involves a real change to the sub-position view's disabled status.

POSThttps://b-api.longbridge.xyz/corporate_action/sub_position_view/disable

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idstringrequired

Sub Account View ID. The id of the list-row record. When the record is disabled (status_val='0') the action button is hidden; status_val includes at least the two values '0'=disabled and '1'=enabled (values come from a backend dynamic enum).

audit_frontend_resourceobject

Audit Frontend Resource (auxiliary). Not a business field; used only for audit-log display, containing the view name and the operation-behavior text.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs