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[]