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.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"comments"=>"Allow IPs of new employees who joined this week", "notificationRecipients"=>["it-team@example.com", "security-team@example.com"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

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