Revert a RuleStack
POST/v1/config/rulestacks/:rulestackname/revert
Revert all uncommitted changes for a specified rulestack.
Request
Path Parameters
rulestackname stringrequired
The name of the rulestack.
- application/json
Body
object
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.
- 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.
ResponseStatus object
Commit status.
ErrorCode Errorcode (integer)
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
Reason Reason (string)
The error description.
RuleStackName Rulestackname (string)
Name of the rulestack.
{
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
},
"RuleStackName": "string"
}
Loading...