reset

Reset or logout your user.

The reset call lets you reset the userId, anonymousId, and traits of the currently identified user.

Sift.reset();

You should call reset anytime a user logs out of your app.

You should also call reset if a user authenticates as another user, before calling identify for the newly identified user.