Child pages
  • Attach Backup Server Zone to 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/backup_server_groups/attach_resource.xml
POST /settings/location_groups/:location_group_id/backup_server_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/backup_server_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/backup_server_groups/attach_resource.json

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