provider admin.usergroupsadmin POST /admin.usergroups.addTeams
@utdk/slack /admin.usergroups.addTeams
admin_usergroups_addTeams
Associate one or more default workspaces with an organization-wide IDP group.
token header required
Authentication token. Requires scope: `admin.teams:write`
string

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

adminUsergroupsAddteams
POST/admin.usergroups.addTeams
Associate one or more default workspaces with an organization-wide IDP group.

Input

When `true`, this method automatically creates new workspace accounts for the IDP group members.

required

A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token.

required

An encoded usergroup (IDP Group) ID.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.adminUsergroupsAddteams()