Logo
Akamai APIs API Documentation

List CIDR blocks

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

This operation lists all CIDR blocks on your current account's allowlist or other managed accounts using the accountSwitchKey parameter. Your API client designates the allowlist for the account.

 

Body PARAM

Key Datatype Required Description 
actions
string (Optional) Includes actions you can perform on the object, `false` by default.
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 
Accept
string




RESPONSES

status OK

[ { "actions": { "delete": true, "edit": true }, "cidrBlock": "127.0.0.1/24", "cidrBlockId": 921, "comments": "West Coast Office", "createdBy": "alfulani", "createdDate": "2017-07-27T18:11:25.000Z", "enabled": true, "modifiedBy": "szhang", "modifiedDate": "2017-07-27T18:11:25.000Z" }, { "actions": { "delete": true, "edit": false }, "cidrBlock": "128.5.6.6/24", "cidrBlockId": 6042, "comments": "East Coast Office", "createdBy": "mrossi", "createdDate": "2017-07-27T18:11:25.000Z", "enabled": true, "modifiedBy": "jperez", "modifiedDate": "2017-07-27T18:11:25.000Z" } ]

Curl
curl -X GET 'https://host/identity-management/v3/user-admin/ip-acl/allowlist?actions=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS