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
Documentation IndexFetch the complete documentation index at: https://docs-polymarket-us.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs-polymarket-us.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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