Skip to main content

admin.users.session.resetBulk 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 enqueues a job that wipes sessions for a list of users, leaving them unauthenticated. The users' Slack clients will reset their local cache.

By default, the enqueued job will reset all sessions for the given users. Use the web_only and mobile_only parameters to wipe only web or only mobile sessions.

An ok response from this endpoint does not mean all sessions have been reset. This process is asynchronous. It means that the job that performs the reset has successfully been enqueued.

Here's an example call to this endpoint:

{
"token": "xoxp-xxxxxxxx-xxxxxxxx",
"user_ids": ["U1234", "U2345", "U3456"],
"mobile_only": true
}

Response