WebSockets
/cancel-market-orders
WSS
cancel-market-orders
Although this documentation separates operations into different channels for clarity, all messages are sent over
wss://poly.drive.markets.You must ensure the path property in your JSON payload matches the intended operation. Using WebSocketsMessages
{
"id": "<string>",
"path": "<string>",
"method": "<string>",
"headers": {
"POLY-API-KEY": "<string>",
"POLY-SIGNATURE": "<string>",
"POLY-TIMESTAMP": "<string>",
"POLY-NONCE": "<string>"
},
"body": {
"market": "<string>",
"asset_id": "<string>"
}
}{}Cancel Market Orders
type:object
Cancel orders from a specific market.
Response
type:string
Responses are structured to match Polymarket's CLOB API response format.
Refer to Polymarket's Order API for more information on the response format.
⌘I
Messages
{
"id": "<string>",
"path": "<string>",
"method": "<string>",
"headers": {
"POLY-API-KEY": "<string>",
"POLY-SIGNATURE": "<string>",
"POLY-TIMESTAMP": "<string>",
"POLY-NONCE": "<string>"
},
"body": {
"market": "<string>",
"asset_id": "<string>"
}
}{}
