Slack.Web.Admin.Teams.Owners (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

List all of the owners on a given workspace.

Functions

list(team_id, optional_params \\ %{})

List all of the owners on a given workspace.

API reference

Rate limit: Tier 3: 50+ per minute
Scopes:

View on docs.slack.dev ↗

Required Params

  • team_id -

Optional Params

  • cursor - Set cursor to next_cursor returned by the previous call to list items in the next page. ex: 5c3e53d5
  • limit - The maximum number of items to return. Must be between 1 - 1000 both inclusive. ex: 100

Errors the API can return:

  • feature_not_enabled - The Admin APIs feature is not enabled for this team.
  • invalid_cursor - Invalid cursor.
  • not_an_admin - This method is only accessible by org owners and admins.
  • team_not_found - `team_id was not found.

See the Common Errors guide for errors returned by every Web API method.