Admin

Admin Teams Create

POST
/admin.teams.create

Create an Enterprise team.

Authorization

slackAuth admin.teams:write
AuthorizationBearer <token>

In: header

Scope: admin.teams:write

Header Parameters

token*string

Authentication token. Requires scope: admin.teams:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

team_domain*string

Team domain (for example, slacksoftballteam).

team_name*string

Team name (for example, Slack Softball Team).

team_description?string

Description for the team.

team_discoverability?string

Who can join the team. A team's discoverability can be open, closed, invite_only, or unlisted.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.teams.create" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'team_domain=string&team_name=string'
{  "ok": "True"}