Home > @uniformdev/context > VisitorDataStore > delete
VisitorDataStore.delete() method
Deletes visitor data (forgetting them) In most cases you should use forget() on the Context instead of this function, which also clears the Context state.
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
fromAllDevices | boolean | for an identified user, whether to delete all their data (for the entire account) - true, or data for this device (sign out) - false |
Returns:
Promise<void>