Edit Data Store Zone

To edit a label of a particular data store zone, use the following request:

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/7.xml -d '<data_store_group><label>Data_Store_Name</label><location_group_id>1</location_group_id><preconfigured_only>true</preconfigured_only></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/7.json -d '{"data_store_group": {"label":"Data_Store_name","location_group_id":"1","preconfigured_only":"true"}}' -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.

preconfigured_only - specify whether the zone can be used for creating Instance Package VSs only.When this option is enabled, the zone cannot be used during custom virtual server (VSs built by setting resources manually) creation.

Page History


  • added preconfigured_only parameter


  • added the location_group_id parameter