Child pages
  • Modify CDN Edge Group
Skip to end of metadata
Go to start of metadata

To modify CDN edge group, run:

POST /edge_groups/:edge_group_id/modify.xml
POST /edge_groups/:edge_group_id/modify.json

XML Request example

curl -i -X POST -u user:userpass http://onapp.test/edge_groups/1/modify.xml -d '<locations type="array"><location>123</location><location>123</location><location>123</location></locations>' -H 'Accept:application/xml' -H 'Content-type:application/xml'

JSON Request example

curl -i -X POST -u user:userpass http://onapp.test/edge_groups/1/modify.json -d '{"locations":["123","456","789"]}' -H 'Accept:application/json' -H 'Content-type:application/json'

Where you have to specify IDs of locations you want to see eventually in the required CDN resource (at least one ID is required).

You can retrieve the list of location IDs with the Get CDN Edge Group Details API call.
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels