Logout[Link]

Purpose

The EPP <logout> command is used to close a session with the EPP server.

The transport connection is closed by the server after the emission of the <logout> response. The <logout> does not take any other elements or attributes:

<?xml version="1.0" encoding="UTF-8"?>
<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>
<logout/>
</command>
</epp>

The server responds with a result code of 1500 (“Command completed successfully; ending session”):

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
    <result code="1500">
      <msg>Command completed successfully; ending session</msg>
    </result>
    <trID>
      <svTRID>dnsbe-0</svTRID>
    </trID>
  </response>
</epp>