NSX-T Data Center REST API
Lock a section (Deprecated)
Lock a section.Deprecated:
Use the following Policy API -
PUT|PATCH /policy/api/v1/infra/domains/<domain-id>/security-policies/<security-policy-id>
Request:
Method:
POST
URI Path(s):
/api/v1/firewall/sections/{section-id}?action=lock
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
FirewallSectionLock+
Example Request:
firewall/sections/2111d18f-27ba-4f19-a51d-2173c3972410?action=lock { "comments": "Lock the Section", "section_revision": 1 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FirewallSection+