Change zone protection
change_zone_protectionEnable or disable delete protection on a Hetzner DNS zone to prevent accidental deletion. Toggle protection to secure or unsecure the zone.
Instructions
Enable or disable the delete protection of a DNS zone. A protected zone cannot be deleted until the protection is removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ID or name of the zone, e.g. "example.com" | |
| delete | Yes | true to protect the zone from deletion, false to unprotect |