Removing a Network ACL Rule
Function
This API is used to remove a network ACL rule from a network ACL policy.
URI
PUT /v2.0/fwaas/firewall_policies/{firewall_policy_id}/remove_rule
Request Message
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
firewall_rule_id |
String |
Yes |
Specifies the network ACL rule ID, which uniquely identifies the network ACL rule. |
Response Message
Parameter |
Type |
Description |
---|---|---|
description |
String |
Provides supplementary information about the firewall policy. |
audited |
Boolean |
Each time the firewall policy or the associated firewall rules are changed, this attribute will be set to False. |
firewall_rules |
Array of strings |
Specifies the ID list of the firewall rules associated with the current firewall policy. |
id |
String |
Specifies the firewall policy ID. |
name |
String |
Specifies the firewall policy name. |
public |
Boolean |
If this attribute is set to True, the network ACL policy is visible to tenants other than its owner. The network ACL policy is not visible to other tenants by default. |
tenant_id |
String |
Specifies the project ID. |
project_id |
String |
Specifies the project ID. |
Example:
Example request
PUT https://{Endpoint}/v2.0/fwaas/firewall_policies/afc52ce9-5305-4ec9-9feb-44feb8330341/remove_rule { "firewall_rule_id": "0f82b221-8cd6-44bd-9dfc-0e118fa7b6b1" }
Example response
{ "description": "", "firewall_rules": [ "b8243448-cb3c-496e-851c-dadade4c161b" ], "tenant_id": "23c8a121505047b6869edf39f3062712", "public": false, "id": "afc52ce9-5305-4ec9-9feb-44feb8330341", "audited": false, "name": "test-policy", "project_id": "23c8a121505047b6869edf39f3062712" }
Status Code
See Status Codes.
Error Code
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot