Update Domain Lock Status
whmcs_update_domain_lock_statusLock or unlock a domain in WHMCS by providing its domain ID and desired lock status. Control domain transfer security with a single API call.
Instructions
Lock or unlock a domain
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": {
"domainid": "<domainid>"
},
"name": "whmcs_update_domain_lock_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainid | Yes | Domain ID | |
| lockstatus | No | Lock status (true to lock) |