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

Delete an NVMe service

Contributors

DELETE /protocols/nvme/services/{svm.uuid}

Introduced In: 9.6

Deletes an NVMe service. An NVMe service must be disabled before it can be deleted. In addition, all NVMe interfaces, subsystems, and subsystem maps associated with the SVM must first be deleted.

  • vserver nvme delete

Parameters

Name Type In Required Description

svm.uuid

string

path

True

The unique identifier of the SVM whose NVMe service is to be deleted.

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

2621462

The supplied SVM does not exist.

72089651

The supplied SVM does not have an NVMe service.

72089653

There are subsystems associated with the NVMe service SVM. The subsystems must be removed before deleting the NVMe service.

72089654

There are NVMe-oF LIFs associated with the NVMe service SVM. The LIFs must be removed before deleting the NVMe service.

72090028

The NVMe service is enabled. The NVMe service must be disabled before it can be deleted.

Also see the table of common errors in the Response body overview section of this documentation.

Name Type Description

error

returned_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

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