Skip to content

Increase Root Storage

PUT
/api/v1/nodes/{node_id}/root-storage-upgrade/
curl --request PUT \
--url 'https://api.e2enetworks.com/myaccount/api/v1/nodes/{node_id}/root-storage-upgrade/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \
--header 'Authorization: Bearer <API_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"disk_size": 125
}'

Grows the node’s root disk to the requested size. The node must be Running or Powered off and not in recovery mode; the new size must be larger than the current size, within the plan’s allowed range, and a multiple the plan requires for its size band. The node moves to Upgrading while the resize runs. This view reads the request body directly rather than through a schema class, so the required fields here are written from the service code, not from an automated schema check.

node_id
required
string

Path parameter node_id.

project_id
required
integer

Identifier of the project to scope the request to. Required integer project ID.

Example

<PROJECT_ID>
apikey
required
string

API key used to authenticate the request

Example

<API_KEY>
location
required
string

Region of the node whose root storage is being increased.

Example

<LOCATION>
Media typeapplication/json
object
disk_size
required

New root disk size in gigabytes. Must be strictly greater than the current root disk size. Root disk shrinking is not supported.

integer

Example

125

Successful response

Media typeapplication/json
object
code

HTTP status code of the increase-root-storage operation.

integer
data
object
node_id

Identifier of the node whose root disk was resized.

integer
customer_id

Identifier of the customer that owns the node.

integer
new_disk_size_in_GB

New root disk size in gigabytes after the resize.

integer
errors
object
message

Status message for the root storage increase.

string

Example

{
"code": 200,
"data": {
"node_id": 12345,
"customer_id": 12345,
"new_disk_size_in_GB": 125
},
"message": "Root disk size upgrade in progress."
}