# API: Edit account details

# editAccountDetails

Edit account details, all params except ID are optional but if left .

# Required parameters

Parameter Description
id Account ID

# Optional parameters

Parameter Description
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 /admin/api.php?api_id=API_ID&api_key=API_KEY&call=editAccountDetails&id=ID

# PHP Samples

# Response

{
    "success": true,
    "call": "editAccountDetails",
    "server_time": 1348235453,
    "info": [
        "account_updated2"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM