Skip to main content
DELETE
Cancel All User Orders
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

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