# DELETE /trade-api/v2/portfolio/orders/{} is deprecated

Kalshi API deprecated DELETE /trade-api/v2/portfolio/orders/{id} without giving a shutdown date yet.

Kalshi API announced on June 18, 2026, that the endpoint DELETE /trade-api/v2/portfolio/orders/{id} is deprecated without a shutdown date. Kalshi API noted that legacy portfolio orders mutation endpoints are slated for deprecation between June 18 and June 25. Calls to this endpoint will eventually fail once the removal takes effect.

## What to use instead

Use DELETE /trade-api/v2/portfolio/events/orders/{order_id} (Cancel Order V2) instead.

- API: Kalshi API (api.elections.kalshi.com)
- Kind: Endpoint removal
- Announced: June 18, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `DELETE /trade-api/v2/portfolio/orders/{id}`
- Source: [Announcement](https://docs.kalshi.com/changelog)
- Verified: November 6, 2026, against Kalshi API's own pages
- Page: https://www.okapi.bot/providers/kalshi-api/breaking-changes/delete-trade-api-v2-portfolio-orders-is-deprecated/

## Kalshi API's words

> Legacy /portfolio/orders mutation endpoints will be deprecated sometime between June 18 and June 25.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
