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