Changes information fields for an account.

Request Information

Headers

NameDescriptionTypeAdditional information
Authentication

Authentication token

string

Required

URI Parameters

NameDescriptionTypeAdditional information
accountid

Account id

globally unique identifier

Required

Body Parameters

Account
NameDescriptionTypeAdditional information
ExternalId

Id for this account in your system (if you keep a list of accounts in your own system)

string

Max length: 250

FirstName

First name

string

None.

LastName

Last name

string

None.

Email

Email

string

None.

Password

Password

string

None.

Type

Account type

string (Enumeration value of AccountType )

Possible values: Basic, Premium

Required

AccountPlanId

Account plan id

integer

Required

ParentAccountId

Account id of the parent account (for Reseller API key and for Basic accounts (sub-accounts) only )

globally unique identifier

Required if API key is for Reseller and account type is 'Basic' (it's a sub-account) and you have the ability to create Premium (multi-user) accounts

PremiumAccountInfo

Additional Premium account info (for Premium accounts only)

PremiumAccountInfo

Required if account type is 'Premium'

Request Formats

application/json

Sample:
{
  "Data": {
    "ExternalId": "externalid",
    "FirstName": "First name",
    "LastName": "Last name",
    "Email": "someemail@gmail.com",
    "Password": "somepassword"
  },
  "Success": true,
  "Messages": []
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Account

None.

Success

boolean

None.

Messages

Collection of ErrorMessage

None.

Response Formats

application/json

Sample:
{
  "Data": {
    "Id": "fa516117-9d6a-4eb0-b5c1-0ca80db618c4",
    "ExternalId": "externalid",
    "Type": "Basic",
    "AccountPlanId": 1,
    "Status": "Active",
    "ParentAccountId": "0f0f72c9-c216-41aa-841e-e096fc741f6f",
    "FirstName": "First name",
    "LastName": "Last name",
    "Email": "someemail@gmail.com"
  },
  "Success": true,
  "Messages": []
}