Skip to main content
DELETE
/
api
/
users
/
{userId}
/
orders
/
{orderId}
Cancel Order
curl --request DELETE \
  --url https://trade.predexon.com/api/users/{userId}/orders/{orderId} \
  --header 'x-api-key: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://docs.predexon.com/llms.txt

Use this file to discover all available pages before exploring further.

Legacy /api/users endpoint. New integrations should use Cancel Order on the accounts path. This endpoint continues to work unchanged.

Authorizations

x-api-key
string
header
required

Path Parameters

userId
string
required

Unique identifier for the user

orderId
string
required

The order ID to cancel

Query Parameters

venue
enum<string>

Filter by venue

Available options:
polymarket,
predict

Response

Order cancelled successfully