# logout

### Close customer session

```objectivec
    /**
     * Close customer session (it removes the customerId saved during the create customer)
     * Removes any reference to the customer
     */
    @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR2)
    public void logout();
```

The session is opened when one of this functions`createCustomer,` `setupCustomer` and `getCustomerInfo` return `success.`

It deletes passpoint internet profiles and wpa2-enterprise installed in the device using `createPasspointProfile`.
