Return Values

Examples

curl --data "login=name@domain.com&passwd=your_api_passwd&locations[]=prague&locations[]=amsterdam" https://api.cdn77.com/v2.0/data-center-location/edit-for-all
# response
{"status": "ok", "description": "Update of datacenter locations was queued and will be executed in few minutes."}

List

GET

https://api.cdn77.com/v2.0/data-center-location/list

Get a list of all activate data center locations. The response will include the Id, name, country and price of each data center location. If param cdn_id is set, it will return only locations that the CDN Resource is using. If this value has not been set, the return will be for all locations.