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

linode.resize()

Resizes a Linode from one plan to another. Immediately shuts the Linode down, charges/credits the account, and issue a migration to another host server.

Parameters

  • LinodeID - numeric (required)
  • PlanID - numeric (required) The desired PlanID available from avail.LinodePlans()

Example Response

{
   ERRORARRAY: [
      {
         ERRORCODE: 0,
         ERRORMESSAGE: "ok"
      }
   ],
   DATA: { },
   ACTION: "linode.resize"
}

Errors

NOTFOUND, CCFAILED, VALIDATION