Lock or unlock a domain for transfers
set_registrar_lockTurn the registrar (transfer) lock on or off for a domain registered at GlobalHostia. Locked domains cannot be transferred to another registrar. Unlocking needs confirm: true after the customer approves; locking does not.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"locked": "<locked>"
},
"name": "set_registrar_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | A domain on your account, e.g. mybrand.com | |
| locked | Yes | ||
| confirm | No | Must be true. Set it only after the customer has explicitly confirmed this exact change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | ||
| locked | No | ||
| previous | No |