# API: Attach zone to service
# attachDNSZone
Requires DNS Zone editor plugin to be added and active in HostBill. Attach zone to service. Once a zone has been created, it will have to be attached to a service (Account ID) so that we can properly track it.
# Required parameters
Parameter | Description |
---|---|
app_id | App ID |
zone_id | Zone ID |
service_id | Service ID |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=attachDNSZone&app_id=APP_ID&zone_id=ZONE_ID&service_id=SERVICE_ID
# PHP Samples
# Response
{
"success": true,
"call": "attachDNSZone",
"server_time": 1622816939,
"info": [
"The zone was successfully attach to service"
]
}