Update Firewall Rule
Updates a specific firewall rule for a given edge gateway.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/firewall/rules/{ruleId}
COPY
Path Parameters
string
gatewayId
Required
gatewayId
string
ruleId
Required
ruleId
string
gatewayId
Required
gatewayId
string
ruleId
Required
ruleId
Request Body
EdgeFirewallRule of type(s) application/json
Optional
This request body class requires all of the following: FirewallRule
{
"id": "string",
"name": "string",
"description": "string",
"sourceFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"sourceFirewallIpAddresses": [
"string"
],
"destinationFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"destinationFirewallIpAddresses": [
"string"
],
"applicationPortProfiles": [
{
"name": "string",
"id": "string"
}
],
"actionValue": "string",
"logging": false,
"networkContextProfiles": [
{
"name": "string",
"id": "string"
}
],
"enabled": false,
"version": {
"version": 0
},
"comments": "string",
"appliedTo": {
"name": "string",
"id": "string"
},
"loggingId": "string",
"relativePosition": "FirewallRuleRelativePosition Object"
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
400
Invalid configuration.
Returns Error of type(s) */*;version=38.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
404
The specified resource was not found
Returns Error of type(s) */*;version=38.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 33.0
On This Page
Edge Gateway Firewall Rule Operations
DELETE
Delete Firewall Rule
GET
Get Firewall Rule
PUT
Update Firewall Rule