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