Skip to main content

admin.users.session.invalidate 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 Admin API invalidates a single session for a user on a workspace. The user will be logged out and forced to login again. If the user has multiple sessions with multiple devices, the other sessions will be unaffected.

If you'd like to reset all sessions for a given user, use the admin.users.session.reset method instead.

Response