Cancel all orders for a game
Orders
Cancel all orders for a game
Cancel every open order on a single game
POST
Cancel all orders for a game
Cancel every open order on a single game. Optionally restrict to a single marketDocumentation Index
Fetch the complete documentation index at: https://docs.4casters.io/llms.txt
Use this file to discover all available pages before exploring further.
type to leave other markets in place.
Request
POST /session/cancelAllOrdersForGame
The game whose orders should be cancelled.
Optional. Cancel only orders of this market type — one of
moneyline, spread, total. When omitted, all market types are cancelled.Response
Per-order cancel results. Same shape as Cancel an order.
Errors
| Status | Meaning |
|---|---|
400 | gameID missing / invalid, or type is not one of the allowed values. |
Authorizations
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.
Body
application/json
Response
Per-order cancel results