Skip to main content

Update an IP address rule

PUT 

/api/v1/IPAddressRule

Updates an existing IP address rule and returns the saved rule. Send the full rule, including its ID. The update is rejected as a duplicate if any rule for that owner, including the one being updated, already has the same address, allow setting and type.

Permission required: Admin or App role.

Values for ipAddressRuleType: 0 = Standard, 1 = Range, 2 = CIDR.

Caution: The update takes effect immediately, and an update that keeps the same address, allow setting and type as the stored rule is rejected as a duplicate.

Request​

Responses​

The rule after the update.