Update Firewall

Verb URI Description
PUT /fw/firewalls/firewall-id Updates a Firewall, provided status is not indicating a PENDING_* state.

Normal Response Code: 200

Error Response Codes: Unauthorized (401), Bad Request (400), Not Found (404)

 

Example 4.146. Update Firewall: Request

PUT /v2.0/fw/firewalls/41bfef97-af4e-4f6b-a5d3-4678859d2485.json
User-Agent: python-neutronclient
Accept: application/json
                
{
    "firewall": {
        "admin_state_up": "false"
    }
}

 

Example 4.147. Update Firewall: Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
                
{
    "firewall": {
        "admin_state_up": false,
        "description": "",
        "firewall_policy_id": "c69933c1-b472-44f9-8226-30dc4ffd454c",
        "id": "3b0ef8f4-82c7-44d4-a4fb-6177f9a21977",
        "name": "",
        "status": "PENDING_UPDATE",
        "tenant_id": "45977fa2dbd7482098dd68d0d8970117"
    }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...