Delete Logical Port

Delete Logical Port

Removes the specified logical switch port.

Request
URI
DELETE
https://nsxmanager.your.domain/api/v1/logical-ports/{lport-id}
COPY
Path Parameters
string
lport-id
Required

lport-id

Query Parameters
boolean
detach
Optional

If this is set to true, then logical port is deleted even if it has attachments.


Authentication
This operation uses the following authentication methods.
Responses
default

Unexpected error

Returns ApiError of type(s) application/json
{
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
string
module_name
Optional

module_name

string
error_message
Optional

error_message

integer As int64 As int64
error_code
Optional

error_code