# API: Edit account details

# editAccountDetails

Edit account details, all params except ID are optional. When parameter is not present it will not be changed.

# 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, YYYY-MM-DD format
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
commitment_date Sets commitment date, YYYY-MM-DD format

# 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: 12/30/2024, 3:28:04 PM