POST
https://b-api.longbridge.xyz/report/bookmark/add_dirAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Specifies Name. This field is required.
Bookmark directory ID. Provide the target directory's ID when updating; omit when creating.
Responses
HTTP 200The request was processed successfully. data contains dir_id.Standard response envelope
codemessagedatadataobjectdata structureID of the created or updated folder.
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