Update CZ Domain - update cz domain
Updating a CZ domain must be authorized using the password of a contact who has permission to approve the change (domain owner, domain administrator, etc.).
In the following example, a new NSSET is assigned to the domain, a new administrator is added, and the billing account is updated. The change is authorized by one of the current domain administrators. Fields that are not being changed do not need to be specified.
The "update cz domain" command cannot be used to change the domain owner.
<?php $result = $client->sendCommand("update cz domain",array( "domain" => "example.cz", "nsset" => "NEW-NSSET", "keyset" => "NEW-KEYSET", "admin" => array("HOSTING-PROVIDER-1","HOSTING-PROVIDER-2","HOSTING-PROVIDER-3"), "idacc" => "PA:PARTNER" ),array( "contact" => "HOSTING-PROVIDER-1", "password" => "my!secret!password", )); ?>
If you only want to change the NSSET and the domain belongs to your billing account, the change can be submitted without authorization from an authorized contact.
Such a command must look as follows:
<?php $result = $client->sendCommand("update cz domain",array( "domain" => "example.cz", "nsset" => "NEW-NSSET", )); ?>