Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods admin.users.getExpiration.json
Raw

priv/docs/methods/admin.users.getExpiration.json

{
"args": {
"target_team": {
"desc": "If an org token is passed in and this team is on the org, it will operate on the workspace level on the specified team. Otherwise it will operate on the org or team in context.",
"example": "T123ABC456",
"required": false
},
"user_id": {
"desc": "The ID of the guest user to get the expiration for.",
"example": "U123ABC456",
"required": false
}
},
"desc": "Fetches the expiration timestamp for a guest",
"errors": {
"no_perms": "User does not have appropriate permissions.",
"not_permitted": "This action is not permitted",
"paid_teams_only": "This feature is only accessible to paid teams",
"target_team_not_on_org": "Target team specified is not on the org in context",
"team_not_found": "Team not found",
"user_is_not_guest": "The user is not a guest",
"user_not_found": "User not found"
},
"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"
}
]
}
}