nvme\_init\_ns\_mgmt\_delete(9) libnvme API manual nvme\_init\_ns\_mgmt\_delete(9)

# [NAME](#NAME)

nvme\_init\_ns\_mgmt\_delete - Initialize passthru command to delete a non attached namespace

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_ns\_mgmt\_delete** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u32 nsid );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[nsid](#nsid)

Namespace identifier to delete

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Namespace Management - Delete command (NVME\_NS\_MGMT\_SEL\_DELETE). The command uses the provided *nsid* as the target NSID.

nvme\_init\_ns\_mgmt\_delete October 2026

---

Document: nvme_init_ns_mgmt_delete-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
