16.5. Actions

16.5.1. Copying a Floating Disk

When copying a floating disk, the API requires the storage_domain element. The optional name element specifies an alias for the disk.

Example 16.4. Copying a Floating Disk

POST /api/disks/54a81464-b758-495a-824b-1e7937116ae5/copy HTTP/1.1
Accept: application/xml
Content-type: application/xml

<action>
    <storage_domain id="c8e108f7-c049-40d2-ad3d-620e4638828e"/>
    <disk>
        <name>rhel_disk2</name>
    </disk>
</action>