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>'
(empty response body)
(empty response body)
Kalshi orders cannot be cancelled. They execute atomically - either the swap completes or it fails. There’s no orderbook presence to cancel.

Use Cases

Price Adjustment

Cancel an order and resubmit at a different price

Strategy Change

Cancel orders when market conditions change

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

Response

204

Order cancelled successfully