Lock or unlock a domain
set_domain_lockSet or release the registrar lock on a domain to prevent unauthorized transfers. Lock to protect, unlock before transferring the domain away.
Instructions
Set the registrar lock on a domain. Locking protects against unauthorised transfers; you must UNLOCK before transferring a domain away. Idempotent — setting the state it is already in is a no-op.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| locked | Yes | true = LOCK (protect), false = UNLOCK (allow transfer out). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| locked | Yes | ||
| account | Yes | ||
| success | Yes | ||
| provider | Yes | ||
| environment | No |