Modify a CIDR block

PUT https://{{host}}/identity-management/v3/user-admin/ip-acl/allowlist/:cidrBlockId

This operation enables or disables an existing CIDR block, updates comments, IP addresses, or ranges in the CIDR block. Note that you can only update a CIDR block with IP allowlist enabled on the account. There are several CIDR blocks on the allowlist and your attempt to make changes to the CIDR block is from an IP address that's on the allowlist. You can't edit the last CIDR block in the allowlist or the CIDR block allowing access to the current user.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"cidrBlock"=>"128.10.46.60/24", "comments"=>"EMEA Offices", "enabled"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"actions":{"delete":true,"edit":false},"cidrBlock":"128.5.6.6/24","cidrBlockId":2567,"comments":"APAC Region","createdBy":"alfulani","createdDate":"2017-07-27T18:11:25.000Z","enabled":true,"modifiedBy":"alfulani","modifiedDate":"2017-07-27T18:11:25.000Z"}