user.subaccount.edit
Edit a subaccount, returns void
Authentication
This method does not require authentification.
Arguments
| Argument | Type | Valid Values | Default Value | Detail |
|---|---|---|---|---|
api_key |
string | Valid Values | required | you need a valid api key to use the API |
|
int | Valid Values | required | sub account ID to edit |
|
array | Valid Values | required | Fields of the array are: email, firstname, lastname, company. Only company can be left null or empty |
Returned Values
| Element (path) | Type | Description |
|---|---|---|
| returns void |
Example Query
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
<methodName>user.subaccount.edit</methodName>
<params>
<param>
<value>
<string>YOUR_API_KEY</string>
</value>
</param>
<param>
<value>
<int>200701446</int>
</value>
</param>
<param>
<value>
<struct>
<member>
<name>email</name>
<value>
<string>Sub account email</string>
</value>
</member>
<member>
<name>firstname</name>
<value>
<string>Sub account firstname;/string>
</value>
</member>
<member>
<name>lastname</name>
<value>
<string>Sub account lastnamede France</string>
</value>
</member>
<member>
<name>company</name>
<value>
<string>sub account company</string>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<string/>
</value>
</param>
</params>
</methodResponse>
Error Codes
001: Service currently unavailable- The requested service is temporarily unavailable.
002: Failed to parse request- The XML-RPC request document could not be parsed.
010: Missing API Key- The API key passed is missing.
011: Invalid API Key- The API key passed is not valid or has expired.
031: Invalid Method- This method does not exist in the method list.
032: Method not Available- This method is not available for this API Key.
7002: Unknown Subbaccount ID- This Subbaccount has already been deleted, or is not your list of subaccounts.

Fotolia US
Fotolia España
Fotolia France
Fotolia UK
Fotolia Deutschland
Fotolia Italia
Fotolia Portugal
Fotolia Brasil
Fotolia 日本
Fotolia Europe