# 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.

On January 17, 2025, POST /api/v5/account/set-riskOffset-type was removed. Calls to this endpoint fail after that day. OKX API marked the feature as offline on the same date.

## What to use instead

Stop calling the endpoint. There is no replacement endpoint documented.

There is no replacement endpoint.

- 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/)
- Verified: November 6, 2026, against OKX API's own pages
- Page: https://www.okapi.bot/providers/okx-api/breaking-changes/post-api-v5-account-set-riskoffset-type-stops-working/

## OKX API's words

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

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