Logo
Akamai APIs API Documentation

Create a CIDR block

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

This operation adds CIDR blocks to your account's allowlist. You can add only one CIDR block at a time. Before creating the CIDR block, you may want to validate it, to check if its format is correct.

 

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 Created

{ "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" }



Curl
curl -X POST 'https://host/identity-management/v3/user-admin/ip-acl/allowlist?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"cidrBlock":"128.10.46.60/24","comments":"EMEA Offices","enabled":true}'

ENDPOINTS