---
title: "Set reduce-only mode"
method: POST
path: "/admin/reduce-only-mode"
tags: ["Admin"]
---

# Set reduce-only mode

`POST /admin/reduce-only-mode`

## Request

- Base URL: `https://api.testnet.rise.trade`
- URL: `https://api.testnet.rise.trade/admin/reduce-only-mode`
- Auth: none required
- TypeScript: <https://skmtc.dev/rise/apis/risex-rest-api/docs/admin/reduce-only-mode/post.ts> (a function with typed inputs; its response is checked against the schema)

Enable or disable reduce-only mode. While on, a resting order (GTC/GTT) is accepted only if it is marked reduce-only; FOK and IOC are admitted regardless, since they can never rest. When market_id is 0 (or unset), toggles the venue-wide flag; when market_id > 0, toggles the per-market override only. Effective reduce-only = venue-wide OR per-market. A market_id outside the pre-registered callback range is rejected with NOT_FOUND rather than silently accepted.

## Request body

- ApiSetReduceOnlyModeRequest
  - `enabled` boolean
  - `market_id` string, int64: Optional market_id. When 0 or unset, toggles the venue-wide flag (rejects any non-reduce-only resting order on every market). When > 0, toggles the per-market override only — used to wind a single market down without locking it on-chain. Effective reduce-only for a market = venue-wide OR per-market.

## Response `200`

A successful response.

- ApiSetReduceOnlyModeResponse
  - `enabled` boolean
  - `market_id` string, int64: Echo of the market_id that was set (0 = venue-wide).

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-11-03** `98eabcd6a6ad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rise/apis/risex-rest-api/changes/admin/reduce-only-mode/post.md)

---

[API](https://skmtc.dev/rise/apis/risex-rest-api.md) - [All operations](https://skmtc.dev/rise/apis/risex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rise/apis/risex-rest-api/revisions/98eabcd6a6ad?raw)
