A logout command is used to end a session with an EPP server. On receipt the EPP server responds and then closes the connection with the client.
The <epp:logout> element is an empty element.
Note: If 'epp' is set as the default namespace then the 'epp:' prefix can be omitted.
<?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>
<?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">
<response>
<result code="1500">
<msg>
Command completed successfully; ending session
</msg>
</result>
<trID>
<svTRID>118073</svTRID>
</trID>
</response>
</epp>