# Table of contents:
# Introduction
DeleteMessages is one of the SOAP actions the RSI provides.
Deletes one or more messages from the offline message server.
# Client/Request
The template used in this action is described on the RSI main page.
# DeleteMessagesThis element has only one attribute:
xmlns: This is always set tohttp://www.hotmail.msn.com/ws/2004/09/oim/rsi.
This element contains one or more <messageId> elements.
This element contains the message ID.
# Server/Response
The template used in this action is described on the RSI main page.
# DeleteMessagesResponseThis element has only one attribute:
xmlns: This is always set tohttp://www.hotmail.msn.com/ws/2004/09/oim/rsi.
# Examples
# Client/Request
POST /rsi/rsi.asmx HTTP/1.1
SOAPAction: http://www.hotmail.msn.com/ws/2004/09/oim/rsi/DeleteMessages
Cache-Control: no-cache
Content-Type: text/xml; charset=utf-8
Content-Length: 585
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Header>
<PassportCookie xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<t>ticket</t>
<p>profile</p>
</PassportCookie>
</soap:Header>
<soap:Body>
<DeleteMessages xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<messageIds>
<messageId>MSG1784881639.24</messageId>
</messageIds>
</DeleteMessages>
</soap:Body>
</soap:Envelope>
# Server/Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 339
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Body>
<DeleteMessagesResponse xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi" />
</soap:Body>
</soap:Envelope>