Product SiteDocumentation Site

12.4.  Delete Storage Domain

A storage_domain reference must be passed in the body of a DELETE request for a storage domain. The storage_domain reference must be in the form:
<storage_domain>
    <host id="..."/>
</storage_domain>
OR
<storage_domain>
    <host>
        <name>...</name>
    </host>
</storage_domain>
Optionally, a format element may be passed to specify whether or not to format the storage domain after deletion.
Example 12.6. Formating a Storage Domain after Deletion
<storage_domain>
    <host id="..."/>
    <format>true</format>
</storage_domain>

If no format element is passed, the storage domain will not be formatted.