cURL
curl --request POST \ --url https://api.polymarket.us/v1/orders/open/cancel \ --header 'Content-Type: application/json' \ --data ' { "slugs": [ "<string>" ] } '
{ "canceledOrderIds": [ "<string>" ] }
Cancel all open orders, optionally filtered by market slugs
Request to cancel all open orders
Market slugs to filter cancellation. If empty, cancels all open orders
Open orders canceled successfully
List of canceled order IDs