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

volume.create()

Creates a new Block Storage Volume. One of DatacenterID or LinodeID is required.

Parameters

  • Size - numeric (required) Sets the size of the new Volume in GiB
  • Label - string (required) A unique name for the Volume
  • DatacenterID - numeric (optional) Sets the datacenter where the Volume should be provisioned
  • LinodeID - numeric (optional) The Linode to attach this Volume to

Example Response

{
   ERRORARRAY: [ ],
   DATA: {
      VOLUMEID: 386
   },
   ACTION: "volume.create"
}

Errors

NOACCESS, VALIDATION, ACCOUNTLIMIT, VOLUMELIMIT