Subreg EPP server documentation
[All Commands]

Update domain

Creates order to change particular information related to already existing domain. It's possible to change registrant and authInfo, add or remove admin, billing and tech contacts, as well as nameservers and some of the statuses.

Input fields

  • name - full domain name (required)
  • add-ns-hostAttr - nameservers to add, mustn't be currently set for this domain
  • add-contact - admin, billing and tech contacts to add, at most one contact for each category can be specified
  • add-status - prohibition statuses to add
  • rem-ns-hostAttr - nameservers to remove
  • rem-contact - admin, billing and tech contacts to remove
  • rem-status - statuses to remove
  • chg-registrant - new registrant contact handle for this domain
  • chg-authInfo-pw - new authorization password for this domain
  • chg-param - any additional parameters valid for subreg.cz, empty values possible to remove values

Output fields

  • order-id - number of the order (required)

Example


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
 <command>
  <update>
   <domain:update xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
    <domain:name>yourdomain.cz</domain:name>
    <domain:add>
     <domain:ns>
      <domain:hostAttr>
       <domain:hostName>ns.mydomain.cz</domain:hostName>
      </domain:hostAttr>
      <domain:hostAttr>
       <domain:hostName>ns2.mydomain.cz</domain:hostName>
      </domain:hostAttr>
     </domain:ns>
     <domain:contact type="admin">G-004454</domain:contact>
    </domain:add>
    <domain:rem>
     <domain:ns>
      <domain:hostAttr>
       <domain:hostName>ns.example.com</domain:hostName>
      </domain:hostAttr>
      <domain:hostAttr>
       <domain:hostName>ns.example.net</domain:hostName>
      </domain:hostAttr>
     </domain:ns>
     <domain:contact type="admin">G-000249</domain:contact>
    </domain:rem>
   </domain:update>
  </update>
  <extension>
   <subreg:update xmlns:subreg="http://www.subreg.cz/epp/subreg-1.0">
    <subreg:chg>
        <subreg:param name="trustee">1</subreg:param>
        <subreg:param name="whoisproxy">true</subreg:param>
    </subreg:chg>
   </subreg:update>
  </extension>
  <clTRID>SUBREG20120218T020143Z625</clTRID>
 </command>
</epp>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
   <result code="1001">
    <msg lang="en">Command completed successfully; action pending</msg>
   </result>
   <resData>
    <order:creData xmlns:order="http://www.subreg.cz/epp/order-1.0">
     <order:id>856274</order:id>
    </order:creData>
   </resData>
   <trID>
    <clTRID>SUBREG20120218T020143Z625</clTRID>
    <svTRID>SUBREG20120218T020145Z385</svTRID>
   </trID>
  </response>
</epp>

Subreg EPP server documentation - version 1.0