Skip to Main Content

Nominet

Log in to the online service
Log in to Online Services
Skip Primary Navigation
Skip All Secondary and Tertiary Navigation

Print this page  | Contact Us
The Unlock command is used to reverse a domain name or account lock.

<domain:unlock> element

The <domain:unlock> element contains the following sub-elements:
  • A <domain:name> element giving the domain name to unlock
and the following attribute:
  • A type attribute of value "investigation".

<account:unlock> element

The <account:unlock> element contains the following sub-elements:

Either
  • An <account:roid> element giving the account to unlock
or
  • An <account:domain-name> element giving the name of a domain name on the account to unlock.
The element also has the following attribute:
  • A 'type' attribute which may be "investigation" or "opt-out".

Example of a domain unlock operation

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
  <command>
   <update>
    <domain:unlock
    xmlns:domain="http://www.nominet.org.uk/epp/xml/nom-domain-2.0"
    xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-domain-2.0
 nom-domain-2.0.xsd" type="investigation">
      <domain:name>epp-example.co.uk</domain:name>
    </domain:unlock>
   </update>
  <clTRID>ABC-12345</clTRID>
</command>
</epp>

Example of an account unlock operation

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
    <command>
      <update>
        <account:unlock
         xmlns:account="http://www.nominet.org.uk/epp/xml/nom-account-1.3"
         xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/nom-account-2.0
 nom-account-1.3.xsd"
         type="opt-out">
          <account:roid>12345678</account:roid>
        </account:unlock>
      </update>
     <clTRID>ABC-123</clTRID>
    </command>
</epp>

Example of a successful response to an unlock operation

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.nominet.org.uk/epp/xml/epp-1.0
 epp-1.0.xsd">
  <response>
    <result code="1000">
      <msg>Command completed successfully</msg>
    </result>
    <trID>
      <clTRID>EPP-ABC-12345</clTRID>
      <svTRID>10012531</svTRID>
    </trID>
  </response>
</epp>
 
 
 

© Nominet UK 1996-2010  |  Accessibility  |  Site Map  |  Feeds  |  Glossary  |  Privacy Policy  |  Terms of Use