Delete NS Service Group

Delete NS Service Group

Deletes the specified NSServiceGroup. By default, if the NSServiceGroup is consumed in a Firewall rule, it won't get deleted. In such situations, pass "force=true" as query param to force delete the NSServiceGroup.

Request
URI
DELETE
https://nsxmanager.your.domain/api/v1/ns-service-groups/{ns-service-group-id}
COPY
Path Parameters
string
ns-service-group-id
Required

NSServiceGroup Id

Query Parameters
boolean
force
Optional

Force delete the resource even if it is being used somewhere


Authentication
This operation uses the following authentication methods.
Responses
200
Operation doesn't return any data structure

400
Returns BadRequest of type(s) application/json
Operation doesn't return any data structure

403
Returns Forbidden of type(s) application/json
Operation doesn't return any data structure

404
Returns NotFound of type(s) application/json
Operation doesn't return any data structure

409
Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
Operation doesn't return any data structure

500
Operation doesn't return any data structure

503
Returns ServiceUnavailable of type(s) application/json
Operation doesn't return any data structure