---
title: "Update an existing NVMeoF namespace"
method: PATCH
path: "/api/nvmeof/subsystem/{nqn}/namespace/{nsid}"
tags: ["NVMe-oF Subsystem Namespace"]
---

# Update an existing NVMeoF namespace

`PATCH /api/nvmeof/subsystem/{nqn}/namespace/{nsid}`

## Path parameters

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

## Request body

- object
  - `gw_group` string — NVMeoF gateway group
  - `load_balancing_group` integer — Load balancing group
  - `location` string — Namespace location
  - `r_mbytes_per_second` integer — Read MB/s
  - `rbd_image_size` integer — RBD image size
  - `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)
  - `trash_image` boolean — Trash RBD image after removing namespace
  - `w_mbytes_per_second` integer — Write MB/s

## Response `200`

Resource updated.

- object

## Other responses

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

---

[API](https://skmtc.net/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.net/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/versions/b03ae23c3806/schema)
