Child pages
  • Edit Data Store Zone
Skip to end of metadata
Go to start of metadata

To edit a label of a particular data store zone:

PUT /settings/data_store_zones/:id.xml
PUT /settings/data_store_zones/:id.json

XML Request example

curl -i -X PUT http://onapp.test/settings/data_store_zones/:id.xml -d '<data_store_group><label>Data_Store_Name</label><location_group_id>1</location_group_id></data_store_group>' -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request example

curl -i -X PUT http://onapp.test/settings/data_store_zones.json -d '{"data_store_group": {"label":"Data_Store_name","location_group_id":"1"}}' -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'


label* - data_store_zone title

location_group_id - ID of a location group you wish to assign the data store zone to. You can change the already assigned location group only if there are no disks or ISOs built on data stores of current zone.

Page history

v. 3.1:

  • Added the location_group_id parameter
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels