Remove Firewall Rule From Firewall
DELETE https://infrahub-api.nexgencloud.com/v1/core/firewalls/{firewall_id}/firewall-rules/{firewall_rule_id}
Removes a firewall rule from a firewall. Provide the firewall ID and the firewall rule ID in the path to remove the specified rule from the specified firewall.
Path parameters
firewall_id integer
Required
The ID of the firewall from which the firewall rule is being deleted.
firewall_rule_id integer
Required
The ID of the firewall rule to be removed.
Attributes
status boolean
Indicates the result of the request to remove a firewall rule from a firewall. true
signifies success, while false
indicates an error.
message string
A description of the status of the request.
Example request
curl -X DELETE "https://infrahub-api.nexgencloud.com/v1/core/firewalls/{firewall_id}/firewall-rules/{firewall_rule_id}" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
Response
{
"status": true,
"message": "string"
}
Returns
Returns a status
of true
when the firewall rule has been successfully removed, along with a description of the operation in the message
field.