ChangeAccountPlan

View as Markdown

Configures the account’s plan.

Please note that when you change the billing plan, we reserve the subscription fee and taxes for the upcoming month. Read more in the Billing page.

Example request: Change the IM plan.

Authentication

AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

plan_typestringRequired
The plan type to config. The possible values are IM, MAU
plan_subscription_template_idintegerOptional

The new plan ID with a price larger than the current plan’s (see [GetAvailablePlans])

Response

Successful response
resultinteger
Returns 1 if the request has been completed successfully
account_infoobject
The current account state