Skip to main content
POST
Get a quote for resizing a snapshot storage

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Path Parameters

snapshotStorage
string
required

The snapshot storage UUID

Example:

"9e83397b-d88e-43ae-bfb7-a8c2e6eda853"

Body

application/json

Send a JSON object containing the fields below. Required fields are marked in the schema.

size_gb
integer
required

The value of size_gb.

Required range: 100 <= x <= 10000

Response

The record, as a JSON object. There is no envelope.

What changing a snapshot storage's size would cost or refund right now, prorated over what is left of the service's current period.

from_gb
integer
required

The value of from_gb.

Example:

200

to_gb
integer
required

The value of to_gb.

Example:

300

amount
string
required

Charged now, from account credit, for a larger size.

Example:

"0.95"

refund_amount
string
required

Credited back, for a smaller size.

Example:

"0.00"

currency
string
required

The three-letter currency code used for monetary amounts.

Example:

"USD"

current_recurring_amount
string
required

The value of current_recurring_amount.

Example:

"3.00"

target_recurring_amount
string
required

The value of target_recurring_amount.

Example:

"4.50"

billing_cycle
string
required

How often the service renews and is billed.

Example:

"Monthly"

days_remaining
integer
required

The value of days_remaining.

Example:

19

total_days
integer
required

The value of total_days.

Example:

30