Changes information fields for an account.
Request Information
Headers
Name | Description | Type | Additional information |
---|---|---|---|
Authentication |
Authentication token |
string |
Required |
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountid |
Account id |
globally unique identifier |
Required |
Body Parameters
AccountName | Description | Type | Additional 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. |
|
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
Name | Description | Type | Additional 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": [] }