API Documentation

Transfer Lock

Enable or disable the transfer lock for a domain. When enabled, the domain cannot be transferred to another registrar.

Request

PUT /api/v1/domains/{id}/transfer-lock

Required scope: domains:manage

Path Parameters

Parameter Type Description
id string The domain ID

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY
Content-Type Yes application/json

Request Body

Field Type Required Description
locked boolean Yes Whether to enable (true) or disable (false) the transfer lock

Response

{
  "data": {
    "locked": true,
    "success": true
  }
}

Response Fields

Field Type Description
data.locked boolean The current transfer lock state
data.success boolean Whether the operation was successful

Errors

Status Code Description
400 INVALID_LOCKED The provided value is not a valid boolean
404 NOT_FOUND The domain was not found
502 PROVIDER_ERROR The domain provider returned an error

Example

curl -X PUT https://site.quest/api/v1/domains/a1b2c3d4e5f6a1b2c3d4e5f6/transfer-lock \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "locked": true
  }'

MCP

This action is also available via the set_transfer_lock MCP tool.