POST
https://b-api.longbridge.xyz/v2/ipo/margin/stateAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Record ID. Specifies Record ID. This field is required.
Enable. Specifies Enable.
Responses
HTTP 200The request was processed successfully. data.id is the ID of the toggled financing batch.Standard response envelope
codemessagedatadataobjectdata structureFinancing Batch ID. Specifies Financing Batch ID.
HTTP 400Bad request. Check the business error code in code and the error details in message.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.Standard response envelope
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.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.Standard response envelope
codemessagedatadataobjectdata structureNo nested fields