Skip to main content
DELETE
Cancel orders for a market

Authorizations

POLY_API_KEY
string
header
required

Your API key

POLY_ADDRESS
string
header
required

Ethereum address associated with the API key

POLY_SIGNATURE
string
header
required

HMAC signature of the request

POLY_PASSPHRASE
string
header
required

API key passphrase

POLY_TIMESTAMP
string
header
required

Unix timestamp of the request

Body

application/json
market
string
required

Market (condition ID)

Example:

"0x0000000000000000000000000000000000000000000000000000000000000001"

asset_id
string
required

Asset ID (token ID)

Example:

"0xabc123def456..."

Response

Cancellation results for market orders

canceled
string[]
required

Array of order IDs that were successfully canceled

Example:
not_canceled
object
required

Map of order IDs that could not be canceled with error messages

Example: