Product SiteDocumentation Site

2.13. Attach Storage Disk to Virtual Machine

The following example creates an 8 GB storage disk for the example virtual machine.
Example 2.15. Create a Storage Disk on the virtual machine
POST /rhevm-api/vms/6efc0cfa-8495-4a96-93e5-ee490328cf48/disks HTTP/1.1
Accept: application/xml
Content-type: application/xml

<disk>
  <size>8589934592</size>
  <type>system</type>
  <interface>virtio</interface>
  <format>raw</format>
  <bootable>true</bootable>
</disk>