Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.teams.settings.setDefaultChannels.json
{
"args": {
"channel_ids": {
"desc": "An array of channel IDs.",
"required": true,
"type": "array"
},
"team_id": {
"desc": "ID for the workspace to set the default channel for.",
"required": true
}
},
"desc": "Set the default channels of a workspace.",
"errors": {
"failed_to_set_default_channels": "We encountered an error while trying to set the default channel.",
"feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
"not_an_admin": "This method is only accessible by org owners and admins.",
"one_or_more_invalid_channels": "One or more of the passed channel IDs was invalid.",
"restricted_action": "The actor does not have admin permissions for the team in context",
"team_not_found": "`team_id` was not found."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.teams:write",
"url": "https://docs.slack.dev/reference/scopes/admin.teams.write"
}
]
}
}