All URIs are relative to https://slack.com/api
Feature | HTTP request | Description |
---|---|---|
admin_users_session_invalidate | Post /admin.users.session.invalidate | |
admin_users_session_reset | Post /admin.users.session.reset |
admin_users_session_invalidate (token: STRING_32 ; team_id: STRING_32 ; session_id: INTEGER_32 ): detachable STRING_TABLE [ANY]
Invalidate a single session for a user by session_id
Name | Type | Description | Notes |
---|---|---|---|
token | STRING_32 | Authentication token. Requires scope: `admin.users:write` | [default to null] |
team_id | STRING_32 | ID of the team that the session belongs to | [default to null] |
session_id | INTEGER_32 | [default to null] |
- Content-Type: application/x-www-form-urlencoded, application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
admin_users_session_reset (token: STRING_32 ; user_id: STRING_32 ; mobile_only: detachable BOOLEAN ; web_only: detachable BOOLEAN ): detachable STRING_TABLE [ANY]
Wipes all valid sessions on all devices for a given user
Name | Type | Description | Notes |
---|---|---|---|
token | STRING_32 | Authentication token. Requires scope: `admin.users:write` | [default to null] |
user_id | STRING_32 | The ID of the user to wipe sessions for | [default to null] |
mobile_only | BOOLEAN | Only expire mobile sessions (default: false) | [optional] [default to null] |
web_only | BOOLEAN | Only expire web sessions (default: false) | [optional] [default to null] |
- Content-Type: application/x-www-form-urlencoded, application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]