---
title: "Enable domain lock"
method: PUT
path: "/api/domains/v1/portfolio/{domain}/domain-lock"
tags: ["Domains: Portfolio"]
---

# Enable domain lock

`PUT /api/domains/v1/portfolio/{domain}/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.

## Path parameters

- `domain` string, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/796bd5194565/schema)
