Delete a VLAN or LAG
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
DELETE /network/ethernet/ports/{uuid}
Introduced In: 9.6
Deletes a VLAN or LAG.
Related ONTAP commands
-
network port ifgrp delete
-
network port vlan delete
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
uuid |
string |
path |
True |
Port UUID |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
1376858 |
Port already has an interface bound. |
1966189 |
Port is the home port or current port of an interface. |
1966302 |
This interface group is hosting VLAN interfaces that must be deleted before running this command. |
1967105 |
Cannot delete a physical port. |
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. |