logout()
Ends the client session of the authenticated user.
Syntax
stub.logout();
Usage
Use logout()
command to end the client session for the authenticated user issuing the call. No arguments are required.
Arguments
None — This command ends the session for the authenticated user issuing the call, so no arguments are needed. The authenticated user is identified by the specified in the sessionId
in the SessionHeader
for this call.
Response
The client session has ended. Failure of the call means that the session was signed out prior to issuing the call, so no results are needed. Any unexpected error should be handled by your client application – see Error Codes.
Sample Code — C#
// This invalidates sessionID and user needs to login to make any calls to the API again.
stub.logout();
Sample Code — Java
// This invalidates sessionID and user needs to login to make any calls to the API again.
stub.logout();