Skip to main content
POST
/
markets
/
orders
/
cancel-all
Cancel All Orders
curl --request POST \
  --url https://www.aionmarket.com/bvapi/markets/orders/cancel-all \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "walletAddress": "<string>",
  "marketIds": [
    "<string>"
  ]
}
'
{
  "cancelledCount": 123
}

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

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

Body

application/json
walletAddress
string
marketIds
string[]

Response

200 - application/json

Bulk cancellation accepted

cancelledCount
integer