API:editAccountDetails - Edit account details

This method will only change values that are included in the request.

Required parameters

id
Account ID

Optional parameters

product_id
Sets product id for this account
date_created
Sets account creation date
domain
Sets account domain/hostname
server_id
Sets server (ID) from which this account will be provisoned
payment_module
Sets payment module (ID) for this account
firstpayment
Sets first payment amount
total
Sets recurring amount
next_due
Sets next due date
status
Sets account status (Active, Suspended, Terminated ...)
username
Sets username for this account
password
Sets password for this account
rootpassword
Sets root password
notes
Sets account notes

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=editAccountDetails&id=ID

Response

   {
      "success":true,
      "call":"editAccountDetails",
      "server_time":1348235453,
      "info":[
         "account_updated2"
      ]
   }