The upgradeAccount() GraphQL mutation may be used to upgrade the LogScale account.

For more information on user authorization, see the Manage users & permissions documentation page.

Syntax

Below is the syntax for the upgradeAccount() mutation field:

graphql
upgradeAccount(
     input: UpgradeAccountData!
   ): boolean!

Given Datatypes

For the given datatype, UpgradeAccountData, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: UpgradeAccountData

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 23, 2024
commentstring  Any comments related to the account, information not already stored in the other fields.
companystringyes The company with which the account holder is associated.
countryCodestring  The two-letter ISO 3166-1 Alpha-2 code for the country of residence (e.g., us).
emailstringyes The email address for the account or account holder.
firstNamestring  The first name of the account holder.
lastNamestringyes The last name or family name of the account holder.
phoneNumberstring  The telephone number of the account holder or the one to call regarding the account.
purposePurposes  The purpose of the upgrade. See Purposes.
stateCodestring  The two-letter, ISO 3166-2 country sub-division code for the state of residence (e.g., ny).