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

Remove an NVMe subsystem

Contributors

DELETE /protocols/nvme/subsystems/{uuid}

Removes an NVMe subsystem.

  • vserver nvme subsystem delete

Parameters

Name Type In Required Description

uuid

string

path

True

allow_delete_while_mapped

boolean

query

False

allow_delete_with_hosts

boolean

query

False

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

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.