Home / Servers / Slack API / admin_users_session_invalidate

Invalidate a single session for a user by session_id

An MCP tool from the Slack API server, hosted on mcp.hjlabs.in.

Invalidate a single session for a user by session_id [POST /admin.users.session.invalidate]

Name on the gateway: slack_api__admin_users_session_invalidate · may change things.

Parameters

NameTypeDescription
team_id requiredstringID of the team that the session belongs to
session_id requiredinteger

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "slack_api__admin_users_session_invalidate",
  "arguments": {
    "team_id": "…",
    "session_id": 0
  }
}

Or connect the Slack API server directly, which lists 174 tools including this one:

Run in your terminal
claude mcp add --transport http hj-slack-api https://mcp.hjlabs.in/mcp/slack-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the invalidate a single session for a user by session_id tool with team_id set to ….

More from Slack API