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
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
fromAllDevices
</td><td>
boolean
</td><td>
for an identified user, whether to delete all their data (for the entire account) - true, or data for this device (sign out) - false
</td></tr> </tbody></table> Returns:
Promise<void>