Skip to main content

admin.users.session.reset method

The features within are only available to Slack workspaces on an Enterprise plan.

Don't have a paid plan? Join the Developer Program and provision a fully-featured sandbox for free.

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
}

Response