wp user session destroy <user> <token>

Destroy a session for the given user

Arguments

NameDescription
userUser ID, user email, or user login
tokenThe token of the session to destroy. Defaults to the most recently created session

Options

NameDescription
--allDestroy all of the user’s sessions