> For the complete documentation index, see [llms.txt](https://docs.namiml.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.namiml.com/sdk-reference/namicustomermanager/logout.md).

# logout

Disassociate a device from a customer identifier.

Use this method to disconnect the association between a user's device and a customer identifier.\
For example, do this when the user logs out of their account within your app.

{% tabs %}
{% tab title="Swift" %}

```swift
NamiCustomerManager.logout()
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
NamiCustomerManager.logout()
```

{% endtab %}

{% tab title="Flutter" %}

```dart
NamiCustomerManager.logout();
```

{% endtab %}

{% tab title="React Native" %}

```jsx
const onLogoutPress = useCallback(() => {
  NamiCustomerManager.logout((success, error) => {
    console.log('success', success);
    console.log('error', error);
  });
}, []);
```

{% endtab %}

{% tab title="Unity" %}

```c
NamiCustomerManager.Logout();
```

{% endtab %}
{% endtabs %}
