Skip to content
Longport Whale
Exchange Service Control

Enable/Disable Service Strategy

The inline "Disable/Enable" button in the Exchange Service Control list (despite the endpoint path resembling a delete, the actual behavior is toggling the enabled state, not deletion).

POSThttps://b-api.longbridge.xyz/forex/service_strategy_delete

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Strategy ID. Taken from the row data record.id.

enable_flagbooleanrequired

Enable Flag. false = disabled, true = enabled.

Responses

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

No nested fields

Whale Docs