# API: Domain Edit

# domainEdit

Edit domain parameters in HostBill, enter only those parameters you need to change

# Required parameters

Parameter Description
id Domain ID

# Optional parameters

Parameter Description
status Set desired domain status from one of supported states
autorenew 1/0 - enable/disable autorenew
namesevers[] List/array with nameservers - post only if you want to change nameservers. For active domains it will trigger registry NS change
reg_module Set to change registrar module assigned to this domain
server_id Set to change app connection of registrar module assigned to this domain

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=domainEdit&id=ID

# PHP Samples

# Response

{
    "success": true,
    "call": "domainEdit",
    "server_time": 1476356189,
    "info": [
        "Domain aaa.com details change saved"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM