Current section
Files
Jump to
Current section
Files
priv/docs/methods/team.accessLogs.json
{
"args": {
"before": {
"default": "now",
"desc": "End of time range of logs to include in results (inclusive).",
"example": "1457989166",
"required": false
},
"count": {
"default": "100",
"desc": "",
"required": false,
"type": "string"
},
"cursor": {
"desc": "Parameter for pagination. Set `cursor` equal to the `next_cursor` attribute returned by the previous request's `response_metadata`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first \"page\" of the collection. See pagination for more details.",
"example": "dXNlcjpVMDYxTkZUVDI=",
"required": false,
"type": "string"
},
"limit": {
"desc": "The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. If specified, result is returned using a cursor-based approach instead of a classic one. 0",
"example": "20",
"required": false,
"type": "integer"
},
"page": {
"default": "1",
"desc": "",
"required": false,
"type": "string"
},
"team_id": {
"desc": "encoded team id to get logs from, required if org token is used",
"required": false,
"type": "string"
}
},
"desc": "Gets the access logs for the current team.",
"errors": {
"invalid_cursor": "Value passed for `cursor` was not valid or is no longer valid.",
"invalid_limit": "The value passed for `limit` was not valid.",
"invalid_team_id": "The value passed for `team_id` is not valid given the token context.",
"missing_argument": "A required argument is missing.",
"over_pagination_limit": "It is not possible to request more than 1000 items per page or more than 100 pages.",
"paid_only": "This is only available to paid teams."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin",
"url": "https://docs.slack.dev/reference/scopes/admin"
}
]
}
}