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

# reset()

> Clear user identity and cached entitlements

Clears the current user ID, cached entitlements, and all user attributes. A new anonymous ID is automatically generated.

## Signature

```tsx theme={null}
reset(): Promise<{ success: boolean }>
```

## Parameters

None.

## Usage

```tsx theme={null}
const handleLogout = async () => {
  await Encore.reset();
  // Navigate to login screen
};
```

<Tip>
  A new anonymous user ID is auto-generated after `reset()`. You don't need to call `configure()` again.
</Tip>
