Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.teams.list.json
{
"args": {
"cursor": {
"desc": "Set `cursor` to `next_cursor` returned by the previous call to list items in the next page.",
"example": "5c3e53d5",
"required": false,
"type": "string"
},
"limit": {
"default": "100",
"desc": "The maximum number of items to return. Must be a positive integer no larger than 1000.",
"example": "50",
"required": false,
"type": "integer"
}
},
"desc": "List all teams in an Enterprise organization",
"errors": {
"feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
"invalid_cursor": "Invalid cursor.",
"invalid_limit": "Value passed for `limit` was not valid.",
"not_an_admin": "This method is only accessible by org owners and admins."
},
"rate_limit": {
"label": "Tier 3: 50+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.teams:read",
"url": "https://docs.slack.dev/reference/scopes/admin.teams.read"
}
]
}
}