Cancel all orders by market ID

Cancels all of the authenticated wallet's open orders in the given market.

POSThttps://mgapi.forkast.gg/api/v1/order/cancel-order/market/all

Cancels all of the authenticated wallet's open orders in the given market.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

marketIdintegerrequired

Response

application/json

Cancel all orders response

successarray<any>
failedarray<object>
failed.outcomeIdstring
failed.kindstring

(format: string<outcome | market>)

failed.idstring
failed.marketIdstring
failed.errorstring