Skip to navigation
IP Firewall ProfileUpdate an IP firewall profile

Update an IP firewall profile

Beta

Required permissions Beta Learn more

IpFirewallProfile + Update

Roles: Administrator

Updates an existing IP firewall profile by ID.

If profile is provided, it is validated before update. Rules use a line-oriented text format: <ACTION> <PROTOCOL> <DIRECTION> <ADDRESS...> [PORTS:...] [# COMMENT]. Only rules with OUT are enforced.

Use the dry_run query parameter to validate the profile without persisting changes.

Authentication

AuthorizationBearer

An auth_token should be provided to authenticate a session.

To obtain an auth_token, see the /api/v1/authenticate POST request.

Path parameters

ip_firewall_profile_iddoubleRequired
The IP firewall profile ID

Query parameters

dry_runbooleanOptionalDefaults to false

When set to true, validates the profile rules without persisting changes. Returns validation results only.

Request

At least one property must be present.
namestringOptional
descriptionstringOptional
profilestringOptional

Full rules text; validated on every update request.

profile_file_namestringOptional

Response

IP firewall profile successfully updated.
PatchIPFirewallProfileResponseobject
Successful save
OR
PatchIPFirewallProfileDryRunResponseobject

dry_run=true and validation succeeded

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error