Parameters

Parameter

Description

userid (required)

A unique user identifier. Can be taken from user's account page.

userkey (required)

User's key string. Generated automatically when user is created and can be changed by user.

action (required)

Specify the action to be performed.

action_user_id

An unique identifier of user.
This field is required for the following actions:
UpdateSubUser
DeleteSubUser
GetUserInfo
GetASM
GetStorageSpace
GetBandwidthStat
GetBandwidthStatGroupDate

user_data

This data include the registration information (required), and the contact information(optional) about user.
This field is required for the following actions:
AddSubUser
AddTrialUser
UpdateSubUser
Below you can see the required registration fields:
— for AddSubUser action: login, email, password
— for AddTrialUser action: login, email, password, phone, first_name, last_name, company
The optional contact data may be following:
phone
first_name
last_name
company
city
zip
country
state
address

date_from
date_to

This parameter may be specified for the GetBandwidthStat and GetBandwidthStatGroupDate actions when you intend to recieve bandwidth statistics in a specified interval. The date must be in format: YYYY-MM-DD.