Change billing plan

To set a billing plan, use the command account/update_plan:

svc=account/update_plan&params={"itemId":<long>,
				"plan":<text>}

:!: Attention!
To assign a billing plan to an account, the current user must have the right to manage this account (see Access flags: Resources). Besides, the current user must be a direct or indirect parent of the account.

Parameters

Name Description
itemId resource (account) ID
plan billing plan name

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam