Remove Network from Network Zone

To remove a network from a network zone, use the following request:

POST /settings/network_zones/:network_zone_id/networks/:id/detach.xml
POST /settings/network_zones/:network_zone_id/networks/:id/detach.json

XML Request Example

curl -X POST http://onapp.test/settings/network_zones/12/networks/1/detach.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -X POST http://onapp.test/settings/network_zones/12/networks/1/detach.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'