Session
Admin Users Session Invalidate
Invalidate a single session for a user by session_id
Authorization
slackAuth admin.users:writeAuthorizationBearer <token>
In: header
Scope: admin.users:write
Header Parameters
token*string
Authentication token. Requires scope: admin.users:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
team_id*string
ID of the team that the session belongs to
session_id*integer
Format
int32Response Body
application/json
application/json
curl -X POST "https://example.com/admin.users.session.invalidate" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'team_id=string'{ "ok": "True"}
