logout() {
    if (this._unifios === true) {
      return this._request('/api/auth/logout', null, 'POST');
    }

    return this._request('/logout');
  }
/**
   * Logout from the UniFi controller - logout()
   *
   * returns true upon success
   */
Logout from the UniFi controller - logout()
returns true upon success
Logout from the UniFi controller - logout () returns true upon success
logout() {
    if (this._unifios === true) {
      return this._request('/api/auth/logout', null, 'POST');
    }
    return this._request('/logout');
  }
logout ( ) { if ( this . _unifios === true ) { return this . _request ( '/api/auth/logout' , null , 'POST' ) ; } return this . _request ( '/logout' ) ; }
Logout from the UniFi controller - logout()
 returns true upon success
Logout from the UniFi controller - logout () returns true upon success