A new version of the API (v4) is available here: developers.linode.com.

linode.disk.create()

Parameters

  • LinodeID - numeric (required)
  • Label - string (required) The display label for this Disk
  • Type - string (required) The formatted type of this disk. Valid types are: ext3, ext4, swap, raw
  • isReadOnly - boolean (optional) Enable forced read-only for this Disk
  • Size - numeric (required) The size in MB of this Disk.

Example Response

{
   "ERRORARRAY":[],
   "ACTION":"linode.disk.create",
   "DATA":{
      "JobID":1298,
      "DiskID":55647
   }
}

Errors

NOTFOUND, VALIDATION