Logo
API_DOC API Documentation

Append elements to a network list

POST https://{{host}}/network-list/v2/network-lists/:networkListId/append

Appends a set of elements to a network list. If the networks list's type is IP, the submitted list is a series of IP addresses or CIDR blocks. If the type is GEO, it's a set of two-character country codes. (See the EdgeScape Documentation for more information. For a list of countries, go to Data CodesCountry Code.)

 

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





Curl
curl -X POST 'https://host/network-list/v2/network-lists/:networkListId/append?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"list":["192.0.2.215","192.0.2.71/24"]}'

ENDPOINTS