---
title: "Exact price of resizing a VPS"
method: GET
path: "/services/{id}/resize/quote"
tags: ["Services"]
---

# Exact price of resizing a VPS

`GET /services/{id}/resize/quote`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/services/{id}/resize/quote`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Prices giving a configurable VPS more vCPUs, memory or disk: the billing system's own
pro-rated amount to the next due date (the figure the invoice carries), one line per
size that grows, what the VPS renews at afterwards, whether the balance covers it, when
each part takes effect, and the exact `order` body for `POST /services/{id}/resize`.
Pass only the sizes that change. Nothing is ordered. The refusals are the resize's.

## Path parameters

- `id` integer, required

## Query parameters

- `cpu_cores` integer
- `memory_gb` integer
- `disk_gb` integer

## Response `200`

The quote

## Other responses

- `400`: A size below the current one, out of range, not a whole number or above what the vCPU count allows; a location, OS, app, billing cycle or product sent; or not a configurable VPS
- `404`: No such VPS on this account
- `409`: `NO_CHANGE`, `SERVICE_NOT_ACTIVE` or `UPGRADE_IN_PROGRESS`

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
