Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

Domain → Enable Privacy Protection

AI-generated

Overview

This node operation enables privacy protection for a specified domain using the Hostinger API. It is useful for users who want to protect their personal information associated with a domain registration from being publicly visible in WHOIS databases. For example, a user can enable privacy protection on their domain to prevent their contact details from being exposed to the public.

Use Case Examples

  1. Enable privacy protection on a newly purchased domain to safeguard personal contact information.
  2. Activate privacy protection on an existing domain to enhance privacy and reduce spam.

Properties

Name Meaning
Domain The full domain name (including TLD) for which privacy protection will be enabled.

Output

JSON

  • response - The JSON response from the Hostinger API confirming the privacy protection status or details.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the domain name is correctly formatted and includes the TLD (e.g., example.com).
  • Verify that the Hostinger API credentials are correctly configured and have the necessary permissions.
  • Common error messages may include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the domain does not exist or privacy protection cannot be enabled. Check the API response for specific error details.

Discussion