API: update_domain
\n
Command for changing the properties of an existing Czech domain. A summary of the requested changes will be sent to the e-mail address of the selected authorisation contact for approval.
\n
Parameters:
\n
\n- domain - domain name
\n- nsset - NSSET
\n- keyset - KEYSET for DNSSEC. Optional. Note: if the NSSET is set to TELE3, the zone is signed by us and only the TELE3 keyset can be used — a foreign keyset would not match the zone and the domain would stop working (code 2017).
\n- admin - administrative contact. Up to 10 contacts may be specified
\n- admin
\n- ...
\n- auth_contact - ID of the contact to which the authorisation request is to be sent
\n
\n
Return codes:
\n
\n- 1000 OK
\n- 2007 Invalid auth contact - the contact given as the authorisation contact does not exist or cannot be used for the requested changes to this domain
\n- 2008 Nothing to change - the change will not be made because no values have been changed
\n- 2017 Cannot sign a zone hosted elsewhere - the combination of NSSET and KEYSET does not make sense: either the domain has the TELE3 NSSET and a foreign keyset, or the other way round. Only a zone operated by the key holder can be signed.
\n- 8001 Domain/NSSET/KEYSET/contact foo does not belong to your account - an object was used that is not available to your account
\n
\n
No return values.
\n
Example:
\n
\n<?xml version="1.0" encoding="UTF-8"?>\n<api>\n<ssid>p156VcVgXzziW0wRHuFciSstsve1Fe</ssid>\n<update_domain>\n<domain>hubero.cz</domain>\n<nsset>NS:KORORO</nsset>\n<keyset></keyset>\n<admin>RUMBURAK</admin>\n<admin>ARABELA</admin>\n<auth_contact>RUMBURAK</auth_contact>\n</update_domain>\n</api>\n
\n
\n<?xml version="1.0" encoding="UTF-8"?>\n<api>\n<credit currency="CZK">100.00</credit>\n<status code="1000">OK</status>\n</api>\n