Loading...

Knowledge Base

Renew VPS Block Storage Orders Using the API

When you want to renew VPS Block Storage volumes using the API. This article explains renewal parameters, auto-renew settings, invoice options, and response details for VPS Block Storage renewals.

 

Description

Renews an existing VPS Block Storage Order.

Parameters

 

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredOrder ID of the Order which is to be renewed
monthsIntegerRequiredThe number of months for which the Order is to be renewed
auto-renewBooleanRequired

Enables / Disables the Auto Renewal setting for the Order

Note

Auto-Renewal

invoice-optionStringRequiredThis parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

US Server https://test.httpapi.com/api/blockstorage/us/renew.json?auth-userid=0&api-key=key&months=1&order-id=0&invoice-option=NoInvoice

Response

Returns a map of the execution details of the Renew operation.