[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Delete Segment Port

Description

Delete an infra segment port by giving ID.

Request

Request

URL

URL


delete
https://nsxmanager.your.domain/policy/api/v1/infra/segments/{segment-id}/ports/{port-id}
Copy

Path Parameters

Path Parameters

string
segment-id Required

string
port-id Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

Errors

Errors

ApiError
400

Bad Request


ApiError
403

Forbidden


ApiError
404

Not Found


ApiError
412

Precondition Failed


ApiError
500

Internal Server Error


ApiError
503

Service Unavailable

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-DeleteInfraSegmentPort -segmentId "MysegmentId" -portId "MyportId"

cURL Command

curl -X DELETE https://nsxmanager.your.domain/policy/api/v1/infra/segments/{segment-id}/ports/{port-id}
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: delete-segment-port
x-vmw-nsx-module: PolicyConnectivity


[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Infrastructure Operations
Feedback

Was this page helpful?