https://b-api.longbridge.xyz/risk/v1/account_stock_margin_ratio/resetAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Counter ID. Taken from the list row's record.counter_id, identifying the counter to which this margin-ratio configuration belongs.
Initial Margin Factor. Taken from the list row's record.im_factor; the front end divides transferNum by 100 to convert it to a decimal (e.g. list shows 150 -> submits 1.5) before submitting, representing a reset to that value.
Maintenance Margin Factor. Taken from the list row's record.mm_factor; like im_factor, it is divided by 100 before submission.
Forced-liquidation Margin Factor. Taken from the row record's fm_factor; like im_factor, it is divided by 100 before submission.
Margin Call Factor. Taken from the list row record.mcm_factor; submitted after the same /100 conversion as im_factor.
Asset Account ID. Taken from the list row's record.aaid_val.
Member ID. Taken from the list row's record.member_id.
Expire At (unix seconds). The front end always sends the current second-level timestamp Math.floor(Date.now/1000) — i.e. it uses "now" as the config's expiry time, thereby resetting/voiding the old config.
Position Side. Enum: 0 = long (User, this page), 1 = short (the short-stock page).
Remark. The front end always passes an empty string ''.
Frontend Audit Log Metadata. Not a business field; used for back-end audit-log display. The front end always sends { delete: true, $action: 'delete', $behavior: multilingual text for voiding client stock margin (tt('audit_invaild_client_stock_margin')) }.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields