For the complete documentation index, see llms.txt. This page is also available as Markdown.

Enable domain lock

Enable domain lock for the domain.

Enable domain lock

put

Enable domain lock for the domain.

When domain lock is enabled, the domain cannot be transferred to another registrar without first disabling the lock.

Use this endpoint to secure domains against unauthorized transfers.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
domainstringRequired

Domain name

Example: mydomain.tld
Responses
200

Success empty response

application/json
messagestringOptionalExample: Request accepted
put/api/domains/v1/portfolio/{domain}/domain-lock
PUT /api/domains/v1/portfolio/{domain}/domain-lock HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "message": "Request accepted"
}

Last updated

Was this helpful?