Skip to main content
POST
Cancel all orders
取消呼叫方在所有賽事和聯賽上的每一筆未成交訂單。用於緊急停止 — 例如來自監控系統的熔斷開關。 若需要破壞性更小、之後還能恢復訂單的替代方案,見 POST /session/pauseOrders(會取消並記住的配套端點;與 resumeOrders 配對使用)。

請求

POST /session/cancelAllOrders 不接受參數。

回應

array
按單取消結果。形態與 取消一筆訂單 相同。

示例

授權

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

主體

application/json

The body is of type object.

回應

Per-order cancel results

data
object[]