Activate a network list
POST https://{{host}}/network-list/v2/network-lists/:networkListId/environments/:environment/activate
Activate the most recent syncPoint
version of a network list in either the STAGING
or PRODUCTION
environment.
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
{
"activationComments": "Allow IPs of new employees who joined this week",
"activationId": 12345,
"activationStatus": "PENDING_ACTIVATION",
"dispatchCount": 1,
"fast": false,
"links": {
"activationDetails": {
"href": "/network-list/v2/network-lists/activations/12345/"
},
"appendItems": {
"href": "/networklist-api/rest/v2/network-lists/25614_GENERALLIST/append",
"method": "POST"
},
"retrieve": {
"href": "/networklist-api/rest/v2/network-lists/25614_GENERALLIST"
},
"statusInProduction": {
"href": "/networklist-api/rest/v2/network-lists/25614_GENERALLIST/environments/PRODUCTION/status"
},
"statusInStaging": {
"href": "/networklist-api/rest/v2/network-lists/25614_GENERALLIST/environments/STAGING/status"
},
"syncPointHistory": {
"href": "/networklist-api/rest/v2/network-lists/25614_GENERALLIST/sync-points/5/history"
},
"update": {
"href": "/networklist-api/rest/v2/network-lists/25614_GENERALLIST",
"method": "PUT"
}
},
"syncPoint": 5,
"uniqueId": "25614_GENERALLIST"
} |
ENDPOINTS