Computes
Upsize Compute Instance
Upgrades the specification (size) of the specified compute instance.
PATCH
Upsize a compute instance
Request Reference
Use these slugs for thenewSpecification field in your request body.
- Specifications
The
S prefix stands for Shared CPU. RAM in GB (512 MB for the smallest tier).| Slug | vCPUs | RAM | Storage (SSD) |
|---|---|---|---|
S-1C | 1 | 512 MB | 10 GB |
S-1C-1G | 1 | 1 GB | 20 GB |
S-1C-2G | 1 | 2 GB | 40 GB |
S-2C-4G | 2 | 4 GB | 80 GB |
S-4C-8G | 4 | 8 GB | 160 GB |
S-8C-16G | 8 | 16 GB | 320 GB |
S-16C-32G | 16 | 32 GB | 640 GB |
Response Error Codes
If the request fails, thecode field in the error response will contain one of the following.
- Standard
- Compute
- Billing & Team
| Code | Status | Description |
|---|---|---|
BAD_REQUEST | 400 | The request was invalid or malformed. |
UNAUTHORIZED | 401 | Authentication failed or was not provided. |
FORBIDDEN | 403 | You do not have permission to perform this action. |
RESOURCE_NOT_FOUND | 404 | The specified compute instance was not found. |
CONFLICT | 409 | A conflict with the current server state occurred. |
UNPROCESSABLE_ENTITY | 422 | The request was well-formed but failed semantic validation. |
TOO_MANY_REQUESTS | 429 | You have exceeded the rate limit. |
INTERNAL_SERVER_ERROR | 500 | An unexpected error occurred on our end. |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Compute ID
Body
application/json
e.g. S-1C-1G or S-1C
Example:
"S-1C-1G"
Upsize a compute instance