# API: Detach zone from service

# detachDNSZone

Requires DNS Zone editor plugin to be added and active in HostBill. Detach zone from service

# Required parameters

Parameter Description
zone_id Zone ID or Zone name

# Optional parameters

Parameter Description
service_id Service ID. If the service ID is not set, detach all zones with the specified zone ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=detachDNSZone&zone_id=ZONE_ID

# PHP Samples

# Response

{
    "success": true,
    "call": "detachDNSZone",
    "server_time": 1622817083,
    "info": [
        "The zone was successfully detach from service"
    ]
}
Last Updated: 10/7/2024, 2:36:43 PM