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"
     xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">

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">
    <result code="1500">
      <msg>Command completed successfully; ending session</msg>