{ "opencollection": "1.0.0", "info": { "name": "Akamai: API Endpoint Definition Access tokens Elements API", "version": "2" }, "items": [ { "info": { "name": "Elements", "type": "folder" }, "items": [ { "info": { "name": "Akamai Add an Element", "type": "http" }, "http": { "method": "PUT", "url": "https://{hostname}/api-definitions/v2/network-lists/:networkListId/elements", "params": [ { "name": "networkListId", "value": "{{networkListId}}", "type": "path", "description": "Unique identifier for each network list." }, { "name": "element", "value": "{{element}}", "type": "query", "description": "Specifies the element to add to the network list." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ] }, "docs": "Adds the specified `element` to the list. If the network list's `type` is `IP`, the value needs to be a URL-encoded IP address or CIDR block. If the type is `GEO`, it's a two-character country code. (See the [EdgeScape Documentation](https://control.akamai.com/apps/download-center/#/products/3;name=EdgeScape)) for more information. For a list of countries, go to __Data Codes__ ⇒ __Country Code__.)" }, { "info": { "name": "Akamai Remove an Element", "type": "http" }, "http": { "method": "DELETE", "url": "https://{hostname}/api-definitions/v2/network-lists/:networkListId/elements", "params": [ { "name": "networkListId", "value": "{{networkListId}}", "type": "path", "description": "Unique identifier for each network list." }, { "name": "element", "value": "{{element}}", "type": "query", "description": "Specifies the element to add to the network list." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ] }, "docs": "Removes the specified `element` from the list. If the network list's `type` is `IP`, the value is a URL-encoded IP address or CIDR block. If the type is `GEO`, it's a two-character country code." } ] } ], "bundled": true }