Delete Auto Import Rule

To delete an auto import rule, use the following request:

DELETE /settings/hypervisors/:hypervisor_id/auto_import_rules/:rule_id.xml
DELETE /settings/hypervisors/:hypervisor_id/auto_import_rules/:rule_id.json

XML Request Example

curl -i -X DELETE http://onapp.test/settings/hypervisors/152/auto_import_rules/7.xml -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X DELETE http://onapp.test/settings/hypervisors/152/auto_import_rules/7.json -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json'