v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Account

Change Account's Hosting Plan

Change the account's hosting plan and generate an order and invoice for the new plan

put/v1/account/hosting_plan

Query parameters

previewboolean

Request body

billing_product_idinteger required

ID of the chosen product

billing_cycle'Monthly' | 'Annual'

Billing cycle to change to (if not passed, the current billing cycle will be used)

Example request

{
  "billing_cycle": "Monthly"
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": []
}