Cancel a limit order
cancel_orderDestructiveIdempotent
Withdraw a resting limit. A buy returns its hold; a sell leaves the position. Already filled or closed answers reduced_by=0. confirm=true. live cancels Kalshi; poly_intl cancels Polymarket International. This server places paper trades only: a call with live or poly_intl is refused (live_not_hosted).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Cancel on Kalshi. | |
| confirm | Yes | Must be true. | |
| order_id | Yes | From get_orders. | |
| poly_intl | No | Cancel on Polymarket International. Not US. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| web_url | No | ||
| reduced_by | No | ||
| already_closed | No |