Child pages
  • Detach CDN Location from Location Group

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
POST /settings/location_groups/:location_group_id/cdn_locations/:cdn_location_id/detach_resource.xml
POST /settings/location_groups/:location_group_id/cdn_locations/:cdn_location_id/detach_resource.json

XML Request example

Code Block
curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '' --url http://onapp.test/settings/location_groups/1/cdn_locations/4/detach_resource.xml

JSON Request example

Code Block
curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d '' --url http://onapp.test/settings/location_groups/1/cdn_locations/4/detach_resource.json

Returns HTTP 204 response on successful deletion, or HTTP 404 when a CDN location with the ID specified is not found, or the URL requested is incorrect.