https://b-api.lbkrs.com/risk_limit/v1/client_group/batch_applyProduction: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission below, or the call will be rejected.
Request body application/json
Batch target limit config list. Field meanings per item: counter_id is the counter number, aaid is the client account ID, code is the security code (usually empty at the client-group level), trader/trader_name are the trader ID/name, client_group/client_group_name are the client-group ID/name, and stock_group is the stock-group ID.
Apply flag. true activates records in bulk; false deactivates them. The UI passes the negated
current value from Activate or Deactivate.
true · Batch Activatefalse · Batch Deactivate
Frontend audit log metadata. Audit-only metadata, not a business parameter. $action is add when activating or
delete when deactivating; $behavior contains the localized audit description.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureOn success data is an empty object.
No nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields