Change WHOIS profile for domain
Change WHOIS contact profile for a domain.
Change WHOIS contact profile for a domain.
Repoints the given contact roles to a new WHOIS profile and submits the change to the registry. The profile currently assigned to those roles is resolved automatically; the request fails if the given roles are not all on the same profile today.
Changing transfer sensitive fields on the owner contact starts an IRTP verification.
The change is processed asynchronously.
Use this endpoint to move a registered domain onto different contact information.
Authorizations
AuthorizationstringRequired
API Token authentication
Body
new_whois_idintegerRequiredExample:
WHOIS profile ID to assign to the domain
131502domainstringRequiredExample:
Domain name
mydomain.tldResponses
200
Success empty response
application/json
messagestringOptionalExample:
Request accepted401
Unauthenticated response
application/json
422
Validation error response
application/json
500
Error response
application/json
put/api/domains/v1/whois/change
PUT /api/domains/v1/whois/change HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"new_whois_id": 131502,
"domain": "mydomain.tld",
"change_for": [
"owner",
"admin"
]
}{
"message": "Request accepted"
}Last updated
Was this helpful?