Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.teams.create.json
{
"args": {
"team_description": {
"desc": "Description for the team.",
"required": false,
"type": "string"
},
"team_discoverability": {
"desc": "Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`.",
"required": false,
"type": "string"
},
"team_domain": {
"desc": "Team domain (for example, slacksoftballteam). Domains are limited to 21 characters.",
"required": true,
"type": "string"
},
"team_name": {
"desc": "Team name (for example, Slack Softball Team).",
"required": true,
"type": "string"
}
},
"desc": "Create an Enterprise team.",
"errors": {
"bad_url": "Invalid URL. Note that domains can be at most 21 characters.",
"could_not_create_workspace": "The workspace could not be created.",
"discoverability_setting_invalid": "The given discoverability setting is invalid.",
"domain_taken": "The requested domain is taken.",
"feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
"must_provide_team_domain": "No team domain has been provided.",
"must_provide_team_name": "No team name has been provided.",
"name_taken_in_org": "The team with the specified name already exists in the org.",
"not_an_admin": "This method is only accessible by org owners and admins."
},
"rate_limit": {
"label": "Tier 1: 1+ 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"
}
]
}
}