Delete an NVMe subsystem host
Removes an NVMe subsystem host from the specified NVMe subsystem. Use this operation when you need to clean up or modify host associations within your NVMe storage infrastructure.
HTTP method and endpoint
DELETE /protocols/nvme/subsystems/{subsystem.uuid}/hosts/{nqn}
Introduced in
ONTAP 9.6
Usage notes
Deletes an NVMe subsystem host from an NVMe subsystem.
Related ONTAP commands
-
vserver nvme subsystem host remove
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
subsystem.uuid |
string |
path |
True |
The unique identifier of the NVMe subsystem. |
nqn |
string |
path |
True |
The NVMe qualified name (NQN) used to identify the NVMe subsystem host. |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
72089771 |
The NQN is invalid. A non-empty qualifier is required after the prefix. An example of a valid NQN is nqn.1992-01.com.example:string. |
72089772 |
The NQN is invalid. Add the prefix 'nqn'. An example of a valid NQN is nqn.1992-01.com.example:string. |
72089773 |
The NQN is invalid. The date field must be formatted yyyy-mm. An example of a valid NQN is nqn.1992-01.com.example:string. |
72090001 |
The NVMe subsystem does not exist. |
72090004 |
The NVMe subsystem host does not exist. |
Also see the table of common errors in the Response body overview section of this documentation.
| Name | Type | Description |
|---|---|---|
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. |