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.
Body
PARAM
Key | Datatype | Required | Description |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
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"
} |
ENDPOINTS