Table of Contents
/Account/Logout
Allows the client to logout from the current session. This stops refreshing the token.
JSON
- Request
{ }
- Response (if successful)
{ }
XML
- Request
<Logout xmlns="https://waher.se/Schema/BrokerAgent.xsd" />
- Response (if successful)
<AckResponse xmlns="https://waher.se/Schema/BrokerAgent.xsd" />
Javascript Library
Use the following asynchronous method in the Javascript Library, to call this resource.
Note: Calling this function automatically stops the refreshing of the session token.
var Response = await AgentAPI.Account.Logout();