IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side APIWL.Client.logout
Asynchronous function that logs out of a specified realm.
WL.Client.logout(realm, options)
Parameter Description realm Optional. The realm to be logged out of. Specify NULL to log out of the resource realm assigned to the application when it was deployed.
options Optional. A standard options object.
Return Value
None.
Parent JavaScript client-side API