Domains: Portfolio

Enable domain lock

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.

put/api/domains/v1/portfolio/{domain}/domain-lock

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/domains/v1/portfolio/{domain}/domain-lock
  • Auth: HTTP bearer

Path parameters

domainstring required
Example:mydomain.tld

Domain name

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}

Changes

No recorded changes to this operation across all 133 revisions of this API.