# logout

### Close customer session

```objectivec
/**
 * Close customer session (it removes the customerId saved during the create customer)
 * Removes any reference to the customer
 */
- (void) logout;
```

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

It deletes passpoint internet profiles installed in the device using `createPasspointProfile and createWPA2EnterpriseProfile`.

{% hint style="info" %}
~~The delete of the wpa2-ent profile is not supported on iOs for technical limitation, the only way to delete it is to remove the application or to forgot the wifi network.~~

this limitation no longer exists since SDK v 1.6.0
{% endhint %}
