# DELETE /trade-api/v2/portfolio/orders/batched is deprecated

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

Kalshi announced on June 18, 2026, that the DELETE /trade-api/v2/portfolio/orders/batched endpoint is deprecated without a shutdown date. Kalshi API noted that legacy portfolio orders mutation endpoints will be deprecated between June 18 and June 25. Once shut down, requests to this endpoint fail.

## What to use instead

Use DELETE /trade-api/v2/portfolio/events/orders/batched (Batch Cancel Orders 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/batched`
- 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-batched-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
