---
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
  - `gw_group` string — NVMeoF gateway group
  - `max_namespaces` integer — Maximum number of namespaces
  - `network_mask` string[] — Network mask to automatically create listeners
  - `no_group_append` boolean — Do not append gateway group name to the NQN
  - `nqn` string, required — NVMeoF subsystem NQN
  - `port` integer — Port to use for the created listeners
  - `secure_listeners` boolean — Make all the auto-listeners for this subsystem secure
  - `serial_number` string — Subsystem serial number
  - `server_address` string — NVMeoF gateway address
  - `traddr` string — NVMeoF gateway address (deprecated)

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

---

[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/revisions/b03ae23c3806/schema)
