---
title: "Create a new NVMeoF subsystem"
method: POST
path: "/api/nvmeof/subsystem"
tags: ["NVMe-oF Subsystem"]
---

# Create a new NVMeoF subsystem

`POST /api/nvmeof/subsystem`

## Request body

- object
  - `dhchap_key` string — Subsystem DH-HMAC-CHAP key
  - `enable_ha` boolean — Enable high availability
  - `gw_group` string — NVMeoF gateway group
  - `max_namespaces` integer — Maximum number of namespaces
  - `no_group_append` integer — Do not append gateway group name to the NQN
  - `nqn` string, required — NVMeoF subsystem NQN
  - `serial_number` string — Subsystem serial number
  - `server_address` string — NVMeoF gateway address

## Response `201`

Resource created.

- 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-02-24** `e2e41a5e4dc6` — 2 breaking
  - the `dhchap_key` request property type/format changed from `integer`/`` to `string`/``
  - the `serial_number` request property type/format changed from `integer`/`` to `string`/``
- **2026-02-13** `1a8f7c621d17` — 2 breaking
  - the `dhchap_key` request property type/format changed from `string`/`` to `integer`/``
  - the `serial_number` request property type/format changed from `string`/`` to `integer`/``
- **2026-02-13** `d839d2e52742` — 2 breaking
  - the `dhchap_key` request property type/format changed from `integer`/`` to `string`/``
  - the `serial_number` request property type/format changed from `integer`/`` to `string`/``
- **2026-02-12** `25a90ec8f0f4` — 2 breaking
  - the `dhchap_key` request property type/format changed from `string`/`` to `integer`/``
  - the `serial_number` request property type/format changed from `string`/`` to `integer`/``

[Change history](https://skmtc.dev/ceph/apis/ceph-rest-api/changes/api/nvmeof/subsystem/post.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-service-production.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/revisions/42dc30fdcd72/schema)
