Delete Firewall
DELETE https://infrahub-api.nexgencloud.com/v1/core/firewalls/{id}
Deletes a firewall. Include the ID of the firewall to be deleted in the request path.
Path parameters
id integer
Required
The unique identifier of the firewall to be deleted.
Attributes
status boolean
Indicates the success or failure of the delete firewall operation. true
, indicates success, while false
indicates error.
message string
A message confirming the status of the request to delete the specified firewall.
Example request
curl -X DELETE "https://infrahub-api.nexgencloud.com/v1/core/firewalls/{id}" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
Response
{
"status": true,
"message": "string"
}
Returns
Returns the status of the request to delete a firewall. A true
status indicates successful deletion, otherwise an error has occurred.