---
title: "set QOS for specified NVMeoF namespace"
method: PUT
path: "/api/nvmeof/subsystem/{nqn}/namespace/{nsid}/set_qos"
tags: ["NVMe-oF Subsystem Namespace"]
---

# set QOS for specified NVMeoF namespace

`PUT /api/nvmeof/subsystem/{nqn}/namespace/{nsid}/set_qos`

## Path parameters

- `nqn` string, required
- `nsid` string, required

## Request body

- object
  - `force` boolean — Set QOS limits even if they were changed by RBD
  - `gw_group` string — NVMeoF gateway group
  - `r_mbytes_per_second` integer — Read MB/s
  - `rw_ios_per_second` integer — Read/Write IOPS
  - `rw_mbytes_per_second` integer — Read/Write MB/s
  - `server_address` string — NVMeoF gateway address
  - `traddr` string — NVMeoF gateway address (deprecated)
  - `w_mbytes_per_second` integer — Write MB/s

## Response `200`

Resource updated.

- object

## Other responses

- `202` — Operation is still executing. Please check the task queue.
- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

## Changes

- **2026-04-21** `5dcf576ae411` — 1 info
  - added the new optional request property `traddr`
- **2026-04-13** `a35a27a6a408` — 1 warning
  - removed the request property `traddr`
- **2026-04-12** `a22268946bcf` — 1 info
  - added the new optional request property `traddr`
- **2026-03-31** `9cf6ecad921e` — 1 warning
  - removed the request property `traddr`
- **2026-03-27** `5824065b0830` — 1 info
  - added the new optional request property `traddr`

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/nvmeof/subsystem/:nqn/namespace/:nsid/set_qos/put.md)

---

[API](https://skmtc.dev/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.dev/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ceph/apis/ceph-rest-api/revisions/1b06275847c0?raw)
