---
name: "nvme_init_ns_mgmt_delete-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_ns_mgmt_delete-libnvme3"
---

# nvme\_init\_ns\_mgmt\_delete-libnvme3(2)

Initialize passthru command to delete a non attached namespace

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace identifier to delete

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