Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.users.session.getSettings.json
{
"args": {
"user_ids": {
"desc": "The IDs of users you'd like to fetch session settings for. Note: if a user does not have any active sessions, they will not be returned in the response.",
"example": "['U1234']",
"required": true,
"type": "array"
}
},
"desc": "Get user-specific session settings—the session duration and what happens when the client closes—given a list of users.",
"errors": {
"admin_unauthorized": "The owner of this token isn't authorized to list sessions.",
"bots_not_allowed": "Bot sessions are not listed by this method.",
"feature_not_enabled": "This method is only available to Enterprise customers.",
"not_an_admin": "The owner of this token isn't an Org Owner or Admin.",
"restricted_action": "The owner of this token isn't an Org Owner or Admin.",
"unknown_method": "This method is currently not available.",
"user_not_found": "There was an error finding the requested user."
},
"rate_limit": {
"label": "Tier 4: 100+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.users:read",
"url": "https://docs.slack.dev/reference/scopes/admin.users.read"
}
]
}
}