Skip to content

Commit

Permalink
Updated from Slack docs, 2024/08/20
Browse files Browse the repository at this point in the history
  • Loading branch information
Slack API Ref Buildbot committed Aug 20, 2024
1 parent 374f1a6 commit d59900a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
21 changes: 17 additions & 4 deletions methods/admin/admin.users.session.invalidate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,27 @@
"desc": "ID of the session to invalidate.",
"type": "integer"
},
"user_id": {
"required": false,
"example": "U12345",
"desc": "ID of the user that the session belongs to."
},
"team_id": {
"required": true,
"required": false,
"example": "T1234",
"desc": "ID of the workspace that the session belongs to.",
"type": "string"
"desc": "ID of the workspace that the session belongs to."
}
},
"arg_groups": [
{
"args": [
"user_id",
"team_id"
],
"desc": "Exactly one of these arguments is required to identify the session that is to be invalidated, user_id is preferred and team_id will be deprecated and eventually removed.",
"mutually_exclusive": true
}
],
"response": {
"examples": [
"{\n \"ok\": true\n}"
Expand All @@ -28,7 +42,6 @@
"feature_not_enabled": "The token provided can't call this method.",
"invalid_auth": "Some aspect of authentication cannot be validated. Either the provided token is invalid or the request originates from an IP address disallowed from making the request.",
"not_an_admin": "This method must be called by an Org Owner or Admin.",
"session_expired": "The requested session has already expired.",
"session_invalidation_failed": "There was an error invalidating the session.",
"session_not_found": "The requested session wasn't found.",
"unknown_method": "This method is currently not available.",
Expand Down
1 change: 1 addition & 0 deletions methods/bookmarks/bookmarks.add.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"channel_not_found": "Channel cannot be found.",
"file_not_found": "File cannot be found.",
"invalid_bookmark_type": "Bookmark type is not valid.",
"invalid_shortcut_type": "Shortcut type is not valid.",
"invalid_child_type": "Child type is not valid.",
"invalid_emoji": "Invalid emoji, does not follow the pattern of a valid emoji name.",
"invalid_entity_id": "Invalid entity_id, file or message type bookmark should have original file or message ID.",
Expand Down

0 comments on commit d59900a

Please sign in to comment.