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

Force Delete Segment

Description

Force delete bypasses validations during segment deletion. This may result in an inconsistent connectivity.

Request

Request

URL

URL


delete
https://nsxmanager.your.domain/policy/api/v1/infra/segments/{segment-id}?force=true
Copy

Path Parameters

Path Parameters

string
segment-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

cURL Command

curl -X DELETE https://nsxmanager.your.domain/policy/api/v1/infra/segments/{segment-id}?force=true
Vendor Extensions

Vendor Extensions

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


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

Was this page helpful?