Management Plane API > Security > Services > Firewall

Delete an Existing Rule

Delete existing firewall rule in a firewall section. Deleting firewall rule
in a section modifies parent section and simultaneous update (modify)
operations on same section are not allowed to prevent overwriting stale
contents to firewall section. If a concurrent update is performed, HTTP
response code 409 will be returned to the client operating on stale data.
That client should retrieve the firewall section again and re-apply its
update.

Request:

Method:
DELETE
URI Path(s):
/api/v1/firewall/sections/<section-id>/rules/<rule-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

DELETE https://<nsx-mgr>/api/v1/firewall/sections/16a93c39-5822-469e-b0be-70728153642e/rules/111616

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

firewall_general

Additional Errors: