cURL
curl --request POST \ --url https://{host}/Agent/Xmpp/ClearMessages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "count": 123 }
Clears any offline messages available for the account from the server.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
Success