Enable or disable WHOIS ID protection on a domain. ID protection hides the registrant’s contact details in public WHOIS. POST /domains/{domain}/protectid
ID protection depends on the registrar module backing your account. The current sandbox registrar returns a 501 “Function not supported by the registrar module”. The request and response shapes below describe the intended behavior on a registrar that supports ID protection; the observed sandbox response is shown at the end.

Parameters

text
required
The domain to update, for example example.com.
numeric
required
1 to enable ID protection, 0 to disable it.

Request

Response

On a registrar that supports ID protection, this returns a success status once the setting is applied. On the sandbox registrar it returns: