# POST /api/v5/account/set-riskOffset-type stops working

Calls to POST /api/v5/account/set-riskOffset-type on OKX API stopped working on January 17, 2025.

- API: OKX API (www.okx.com)
- Kind: Endpoint removal
- Announced: January 17, 2025
- Takes effect: January 17, 2025
- Calls after that day: fail
- Calls it hits: `POST /api/v5/account/set-riskOffset-type`
- Source: [Announcement](https://www.okx.com/docs-v5/log_en/)
- Page: https://www.okapi.bot/providers/okx-api/breaking-changes/post-api-v5-account-set-riskoffset-type-stops-working/

## What to use instead

Stop calling it; OKX documents no replacement endpoint.

There is no replacement endpoint.

## OKX API's words

> API offline - Set risk offset type (POST /api/v5/account/set-riskOffset-type)
