v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
registrar privacy

Enable WHOIS privacy

Enables the WHOIS privacy for the domain.

Note that if the WHOIS privacy is not purchased for the domain, enabling WHOIS privacy will cause the service to be purchased for a period of 1 year. If WHOIS privacy was previously purchased and disabled, then calling this will enable the WHOIS privacy.

put/{account}/registrar/domains/{domain}/whois_privacy

Path parameters

accountinteger required

The account id

domainstring required

The domain name or id

Response

Successfully enabled whois privacy.

Example response

{
  "data": {
    "id": 1,
    "domain_id": 2,
    "expires_on": "2017-02-13",
    "enabled": true,
    "created_at": "2016-02-13T14:34:50Z",
    "updated_at": "2016-02-13T14:34:52Z"
  }
}