Withdraw a snapshot storage cancellation
Overview
Withdraws an end-of-period cancellation and continues billing for the storage. Available only when can_withdraw_cancellation is true. Immediate cancellations cannot be reversed. Automatic payments remain disabled and must be set up again.
Permissions
Requires the billing.purchase (Make purchases) permission for the selected team. Resources outside that team return 404.
Authorization
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.
Send it as Bearer <token>.
Path parameters
The snapshot storage uuid short
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
The uuid UUID.
The value of uuid_short.
The name shown to customers.
The value of status.
One of: pending_payment, active, pending_cancellation, terminating, terminated, expired, payment_review
The status in the customer's words, with suspension first.
What the purchase is waiting on, when it is waiting on something.
Whether the purchase is waiting for the account to hold enough credit.
The size bought, in whole GiB.
The size bought, in bytes.
What the finished snapshots in it occupy, in bytes.
Capacity less used, never below nought, in bytes.
The number of snapshots count.
Whether billing has suspended it. Its snapshots are frozen while it is.
Whether snapshots may be taken into, restored from, deleted from or moved in or out of it.
The value of billing.
Show child attributesHide child attributes
The customer's service number, once a recurring service exists.
The customer's invoice number, once an invoice exists.
A complete URL where the invoice can be paid.
The checkout UUID, or null when no checkout is available.
The value of checkout_uuid_short.
The current invoice status, or null before an invoice exists.
The amount in the currency shown by currency.
The three-letter currency code used for amount.
How often the service renews, or null for a one-time charge.
When payment is due before the reservation is released.
How many minutes the original payment window allowed.
When the charge was paid, or null while payment is outstanding.
The value of cancellation_type.
One of: immediate, end_of_billing, null
The date and time for cancellation requested at, in UTC.
The value of autopay.
Whether the customer can cancel.
Whether an end-of-period cancellation can still be taken back.
Whether the customer can resize.
A change of size still being paid for or written to billing.
Show child attributesHide child attributes
The uuid UUID.
The value of from_gb.
The value of to_gb.
The value of status.
One of: pending, completed, expired, payment_review
Whether the charge is waiting for the account to hold enough credit.
The value of progress_message.
The prorated charge for a larger size.
The prorated credit for a smaller size.
The three-letter currency code used for monetary amounts.
The date and time for created at, in UTC.
The date and time for created at, in UTC.
Errors
- 400
- The cancellation cannot be withdrawn in its current state.
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 404
- The resource was not found in the selected team. Resources in another account or team also return 404.
- 422
- A field is missing or invalid, or the resource cannot accept this change in its current state. Check
messagefor details. Field validation also includes anerrorsobject keyed by field name. - 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown