> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeotap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove User Identities

> Clear user identities from storage.

<Warning>
  **Important:** Please ensure your CMP configuration includes new **Vendor ID 1469** for 1st Party data tracking. Additionally, include **Vendor ID 301** if cookie sync is enabled. [Learn more](/articles/sdks/web-js/configurations/consent-options#shouldcheckzeotapvendorconsent)
</Warning>

The `unSetUserIdentities` method removes user identities that were set using the `setUserIdentities` method.

## Syntax

```javascript theme={null}
unSetUserIdentities()
```

## Usage Example

```javascript theme={null}
import { unSetUserIdentities } from 'zeo-collect';

// Clear user identities on logout
const handleLogout = () => {
    unSetUserIdentities();
    console.log("User identities cleared");
};
```

## Related Methods

* [setUserIdentities](/articles/sdks/react-native/api-reference/set-user-identities) - Set user identities
