Delete a PrefixList
DELETE/v1/config/rulestacks/:rulestackname/prefixlists/:name
Delete the prefix list associated with the specified rulestack.
Request
Path Parameters
rulestackname stringrequired
The name of the rulestack.
name stringrequired
The name of the prefix list.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- LimitExceededException—Operation failed due to violation in limit settings.
- ResourceNotFoundException—Unable to locate a resource using the parameters you provided.
- ThrottlingException—Operation failed due to throttling limitations.
- AccessDeniedException—You do not have sufficient access to perform this action.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
- InsufficientCapacityException—AWS currently does not have enough capacity to fulfill your request.
Response object
The API call response.
Name Name
Name of the prefix list.
PrefixListEntry object
AuditComment Auditcomment
Audit remarks.
Description Description
The prefix list description.
PrefixList string[]required
UpdateToken Updatetoken
Default value: 1
Refresh token.
RuleStackName Rulestackname
Name of the rulestack.
ResponseStatus object
The API call response status.
ErrorCode Errorcode
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
Reason Reason
The error description.
{
"Response": {
"Name": "string",
"PrefixListEntry": {
"AuditComment": "string",
"Description": "string",
"PrefixList": [
"string"
],
"UpdateToken": "1"
},
"RuleStackName": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...