Hello, Thanks Benny! I was able to attach and detach using the links you gave me.
Namely, I used curl to attach: curl \ --insecure \ --user 'admin@internal:abc' \ --request POST \ --header 'Version: 4' \ --header 'Content-Type: application/xml' \ --header 'Accept: application/xml' \ --data ' <storage_domain> <name>export</name> </storage_domain> ' \ https://ovirt.link/ovirt-engine/api/datacenters/7e0895d0-a76d-11e8-8f5b-00163e4d9e5f/storagedomains And another curl to put it into maintenance, using the deactivate method: curl \ --insecure \ --user 'admin@internal:abc' \ --request POST \ --header 'Version: 3' \ --header 'Content-Type: application/xml' \ --header 'Accept: application/xml' \ --data ' <action> <async>True</async> </action> ' \ https://ovirt.link/ovirt-engine/api/datacenters/00000002-0002-0002-0002-0000000000bb/storagedomains/0537c42b-6076-4f17-89fd-c0244ebde051/deactivate But after this, how do you DETACH the export domain via CLI/CURL? I have tried using the StorageDomainServerConnection but with no success. _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/OMOOY7PDVEWTWNU7QIMDRTAX6KA5PKES/

