(function ($, navigation, sbm) { var url = 'https://monitoring.renovosolutions.com.au/T4DWeb.Admin/MonitoringIdentity/api/Account/LogOut'; $.ajax({ type: "POST", url: url, async: true, success: function () { console.log('Remote logout OK.'); }, error: function () { console.log('Unable to complete remote logout.'); } }) }(jQuery));