Detach Data Store from Data Store Zone

To detach a data store from a data store zone, use the following request:

POST /settings/data_store_zones/:data_store_group_id/data_stores/:id/detach.xml
POST /settings/data_store_zones/:data_store_group_id/data_stores/:id/detach.json

XML Request Example

curl -X POST http://onapp.test/settings/data_store_zones/12/data_stores/2/detach.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml' 

JSON Request Example

curl -X POST http://onapp.test/settings/data_store_zones/12/data_stores/2/detach.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'