admin.users.session.reset
method
Welcome to the new home of Slack developer docs!
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
This method wipes a user session, leaving the user unauthenticated. The user’s Slack client will reset its local cache.
By default, this method resets all sessions for a given user. Use the web_only
and mobile_only
parameters to wipe only web or only mobile sessions.
Here's an example call to this endpoint:
{
"token": "xoxp-xxxxxxxx-xxxxxxxx",
"user_id": "U1234",
"mobile_only": true
}