-
Getting Started
-
Domains
- Authentication & Headers
- Get Domain Pricing
- Search Domain Availability
- List Domains
- Register Domain
- Transfer Domain
- Get Registrar Domain Info
- Change Nameservers
- Registrar Lock (Enable/Disable)
- Whois Privacy (Toggle)
- Dns Management (Get/Set)
- Get Epp/Authorization Code
- Renew Domain
- Restore Expired Domain
- Get Local Domain Details
- Register Custom Nameserver (Glue Record)
- List Contact Profiles
- Create Contact Profile
- Update Contact Profile
- Assign Contacts To Domain
-
SMM | Lab (SEO)
-
Hosted Payments
-
Crypto Payments
-
Messaging
-
WhatsApp API
-
Email API
-
IPTV
Whois Privacy (Toggle)
Toggling WHOIS Privacy: This feature masks your personal contact details (Name, Address, Email, Phone) from the public WHOIS global database. The boolean parameter utilizes PHP's FILTER_VALIDATE_BOOLEAN filter, meaning truthy representations like true, "true", 1, and "yes" will all trigger enablement, while false, "false", 0 or omitted values disable the proxy.
Endpoint: POST /{id}/privacy
Parameters:
id(required, URL parameter): The local ID of the domain.enable(required, boolean/integer/string): Pass a boolean-equivalent value (true,1) to activate ID protection, or (false,0) to deactivate it on the registrar.
Example Request:
curl -X POST "https://umva.net/api/domain/123/privacy"
-H "X-API-Key: your_api_key_here"
-H "Content-Type: application/json"
-d '{"enable": true}'
Success Response Example (HTTP 200):
{
"success": true,
"message": "WHOIS privacy enabled successfully.",
"data": {
"domain": "example.com",
"whois_privacy": true
}
}
Error Response Example (HTTP 500):
{
"success": false,
"message": "WHOIS privacy is not supported for this TLD."
}