> We want to drive domain locking from our database system, and it looks
> like locking can only be set from the reseller interface.
>
> Is this true or is there an API for it ?
There's an API for it.
Have a look at the API under the "Modify Domain" entry, there's a data
field called "status" combined with "lock_state" to set the appropriate
value.
In PHP it looks like this (needing the $cookie and the $status you want
it set to):
$cmd = array(
'action' => 'modify',
'object' => 'domain',
'cookie' => $cookie,
'attributes' => array (
'data' => 'status',
'lock_state' => $status
)
);
HTH,
Andy.