wp user session destroy <user> <token>
Destroy a session for the given user
Arguments
Name | Description |
---|---|
user | User ID, user email, or user login |
token | The token of the session to destroy. Defaults to the most recently created session |
Options
Name | Description |
---|---|
--all | Destroy all of the user’s sessions |