Skip to main content
A newer release of this product is available.

Remove an NVMe subsystem

Contributors

DELETE /protocols/nvme/subsystems/{uuid}

Introduced In: 9.6

Removes an NVMe subsystem.

  • vserver nvme subsystem delete

Parameters

Name Type In Required Description

uuid

string

path

True

The unique identifier of the NVMe subsystem.

allow_delete_while_mapped

boolean

query

False

Allows for the deletion of a mapped NVMe subsystem.

allow_delete_with_hosts

boolean

query

False

Allows for the deletion of an NVMe subsystem with NVMe hosts.

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

72090001

The NVMe subsystem does not exist.

72090023

The NVMe subsystem contains one or more mapped namespaces. Use the allow_delete_while_mapped query parameter to delete an NVMe subsystem with mapped NVMe namespaces.

72090024

The NVMe subsystem contains one or more NVMe hosts. Use the allow_delete_with_hosts query parameter to delete an NVMe subsystem with NVMe hosts.

Name Type Description

error

error

Example error
{
  "error": {
    "arguments": {
      "code": "string",
      "message": "string"
    },
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.