Child pages
  • Attach Data Store Zone to Location Group

Versions Compared


  • 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/data_store_groups/attach_resource.xml
POST /settings/location_groups/:location_group_id/data_store_groups/attach_resource.json

XML Request example

Code Block
curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass -d '<attach_resource_id>1</attach_resource_id>' --url http://onapp.test/settings/location_groups/1/data_store_groups/attach_resource.xml

JSON Request example

Code Block
curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass -d ' {"attach_resource_id":"4"}' --url http://onapp.test/settings/location_groups/1/data_store_groups/attach_resource.json

This request attaches a particular data store zone (attach_resource_id*) to a specific location group (:location_group_id)