# POST /v5/position/set-risk-limit is deprecated

Bybit API deprecated POST /v5/position/set-risk-limit without giving a shutdown date yet.

The endpoint POST /v5/position/set-risk-limit was deprecated on March 12, 2024, without a shutdown date. Calls to this endpoint will fail. The change applies because auto risk limit has launched.

## What to use instead

Stop calling it: risk limits are now adjusted automatically.

- API: Bybit API (api.bybit.com)
- Kind: Endpoint removal
- Announced: March 12, 2024
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /v5/position/set-risk-limit`
- Source: [Announcement](https://bybit-exchange.github.io/docs/changelog/v5)
- Verified: November 6, 2026, against Bybit API's own pages
- Page: https://www.okapi.bot/providers/bybit-api/breaking-changes/post-v5-position-set-risk-limit-is-deprecated/

## Bybit API's words

> Set Risk Limit [Deprecate] - Since auto risk limit has been launched, it is meaningless to use this API

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