Skip to main content
DELETE
/
markets
/
orders
Cancel All User Orders
curl --request DELETE \
  --url https://pm-t1.bxingupdate.com/bvapi/markets/orders
{
  "results": [
    {
      "walletAddress": "0x1111111111111111111111111111111111111111",
      "canceled": [
        "<string>"
      ],
      "notCanceled": {}
    }
  ],
  "totalCanceled": 5,
  "syncedCount": 3
}
Cancel every pending order across every active wallet credential of the authenticated user. The server iterates each Polymarket wallet credential, calls Polymarket /cancel-all, and synchronises matching mk_order rows. Typically used during emergency shutdowns or full portfolio resets.

Request Body

This endpoint does not accept a request body. The current user is resolved from the Bearer API key in the Authorization header.

Response

data
object
Bulk cancellation result.

Response

200 - application/json

Cancellation results for all wallets

results
object[]
required

Cancellation results per wallet

totalCanceled
integer
required

Total number of canceled orders across all wallets

Example:

5

syncedCount
integer
required

Number of local mk_order records synced

Example:

3