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
- 200
- 400
The rule after the update.
The body is missing, no owner was given, or the same rule already exists. The body explains why.