Delete A Firewall Resource
DELETE/v1/config/ngfirewalls/:ngfirewallname
Delete the specified NGFW. You can check whether a NGFW is in use by reviewing the route tables for the Availability Zones (AZs) where you have the NGFW subnet mappings.
Retrieve the subnet mappings by calling DescribeFirewall
. You can define and update the route tables through Amazon VPC as needed. Update the route tables for the AZs to remove the NGFW endpoints. When the route tables no longer use the NGFW endpoints, you can remove the NGFW safely.
Request
Path Parameters
The name of the NGFW.
- application/json
Body
The unique ID of the account.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- InvalidOperationException—Operation failed because it is not valid. For example, when you delete an NGFW or rulestack in use.
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- ResourceNotFoundException—Unable to locate a resource using the parameters you provided.
- UnsupportedOperationException—The operation you requested is not supported by Cloud NGFW.
- ThrottlingException—Operation failed due to throttling limitations.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
Response object
The API call response.
The unique ID of the account.
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^[0-9]+-[0-9]+$
The App-ID version of the specified application.
Default value: true
Specify whether to automatically upgrade to the latest App-ID version.
Description of the NGFW.
Possible values: [ServiceManaged
, CustomerManaged
]
The management mode used to create endpoints automatically or manually.
Possible values: non-empty
and <= 128 characters
, Value must match regular expression ^[a-zA-Z0-9-]+$
Name of the NGFW, unique in a region for each customer.
Name of the global rulestack.
Name of the local rulestack.
The public subnets for your NGFW. Each subnet must belong to a different Availability Zone in the VPC. NGFW creates an NGFW endpoint in each subnet.
The key:value pairs to associate with a resource.
Default value: 1
Refresh token.
The unique identifier of the VPCs that you want NGFW to retrieve. Leave this blank to retrieve all VPCs.
ResponseStatus object
The API call response status.
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
The error description.
{
"Response": {
"AccountId": "string",
"AppIdVersion": "string",
"AutomaticUpgradeAppIdVersion": true,
"Description": "string",
"EndpointMode": "ServiceManaged",
"FirewallName": "string",
"GlobalRuleStackName": "string",
"RuleStackName": "string",
"SubnetMappings": [
{}
],
"Tags": [
{}
],
"UpdateToken": "1",
"VpcId": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}