Verb | URI | Description |
PUT | /fw/firewall_policies/firewall_policy-id |
Updates a Firewall Policy. |
Normal Response Code: 200
Error Response Codes: Unauthorized (401), Not Found (404)
Example 4.132. Update Firewall Policy: Request
PUT /v2.0/fw/firewall_policies/41bfef97-af4e-4f6b-a5d3-4678859d2485.json User-Agent: python-neutronclient Accept: application/json
{ "firewall_policy": { "firewall_rules": [ "a08ef905-0ff6-4784-8374-175fffe7dade", "8722e0e0-9cc9-4490-9660-8c9a5732fbb0" ] } }
Example 4.133. Update Firewall Policy: Response
HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8
{ "firewall_policy": { "audited": false, "description": "", "firewall_rules": [ "a08ef905-0ff6-4784-8374-175fffe7dade", "8722e0e0-9cc9-4490-9660-8c9a5732fbb0" ], "id": "c69933c1-b472-44f9-8226-30dc4ffd454c", "name": "test-policy", "shared": false, "tenant_id": "45977fa2dbd7482098dd68d0d8970117" } }