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
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.

Configure credentials above to enable sending.

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

TypeScript

import slack from '@utdk/slack';

await slack.adminUsergroupsAddteams()