Skip to main content
PATCH
/
network
/
firewalls
/
{firewall_id}
/
rules
/
{rule_id}
Update Firewall Rule
curl --request PATCH \
  --url https://api.cloud.onidel.com/network/firewalls/{firewall_id}/rules/{rule_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "desc": "Allow HTTPS traffic",
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Path Parameters

firewall_id
string<uuid>
required

Firewall Group UUID

rule_id
string<uuid>
required

Firewall Rule UUID

Body

application/json
desc
string
required
Maximum string length: 255
Example:

"Allow HTTPS traffic"

team_id
string<uuid>

Response

Rule updated successfully