unSetUserIdentities method removes user identities that were set using the setUserIdentities method.
Syntax
Usage Example
Related Methods
- setUserIdentities - Set user identities
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
New: Support & Diagnostics troubleshooting guides are now live.
Clear user identities from storage.
unSetUserIdentities method removes user identities that were set using the setUserIdentities method.
unSetUserIdentities()
import { unSetUserIdentities } from 'zeo-collect';
// Clear user identities on logout
const handleLogout = () => {
unSetUserIdentities();
console.log("User identities cleared");
};
Was this page helpful?