API: update_nsset
Command for changing the properties of an existing NSSET. A summary of the requested changes will be sent to the e-mail address of the authorisation contact for approval.
Parameters:
- nsset_id - NSSET identifier
- nameserver - up to ten DNS servers may be specified
- name - domain name of the DNS server
- glue - up to five glue records (IPv4 or IPv6 address of the given DNS server). Optional.
- glue
- ...
- nameserver
- ...
- contact - ID of the technical administrator's contact. Up to ten contacts may be specified
- contact
- ...
- auth_contact - ID of the contact to which the authorisation request is to be sent
Return codes:
- 1000 OK
- 2004 Failed - the NSSET cannot be registered. The reason is returned in the errors element.
- 2006 NSSET already exists - an NSSET with the requested ID already exists in the registry
- 2007 Invalid auth contact - the contact given as the authorisation contact does not exist
- 2008 Nothing to change - the change will not be made because no values have been changed
- 8800 Malformed input - invalid values in the input fields. Details of the failure are returned in the errors element.
No return values.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<api>
<ssid>Kfps2XXea8udAPSMxoDUSuCbDlgdwI</ssid>
<update_nsset>
<nsset_id>NSPAVTEST3</nsset_id>
<nameserver>
<name>ns1.vol.cz</name>
</nameserver>
<nameserver>
<name>ns2.vol.cz</name>
<glue>12.34.56.78</glue>
<glue>78.56.34.12</glue>
</nameserver>
<contact>SB:PAV</contact>
<auth_contact>SB:PAV<auth_contact>
</update_nsset>
</api>
<?xml version="1.0" encoding="UTF-8"?>
<api>
<status code="1000">OK</status>
</api>