Enable or disable domain privacy (WhoisGuard)
set_domain_privacyEnable or disable domain privacy (WhoisGuard) for a domain, automatically resolving the subscription ID. Provide a forwarding email when enabling to relay WHOIS contact mail.
Instructions
Turn WhoisGuard/domain privacy on or off for a domain. The tool resolves the domain's WhoisGuard subscription ID automatically. Enabling requires a forwardedToEmail (where WHOIS contact mail is relayed). Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| enabled | Yes | true = enable privacy, false = disable. | |
| forwardedToEmail | No | Required when enabling: relay address for WHOIS contact mail. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| account | Yes | ||
| enabled | Yes | ||
| success | Yes | ||
| provider | Yes | ||
| environment | No |