provider admin.usergroupsadmin POST /admin.usergroups.addChannels
@utdk/slack /admin.usergroups.addChannels
admin_usergroups_addChannels
Add one or more default channels to an IDP group.
token header required
Authentication token. Requires scope: `admin.usergroups: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.

adminUsergroupsAddchannels
POST/admin.usergroups.addChannels
Add one or more default channels to an IDP group.

Input

required

Comma separated string of channel IDs.

The workspace to add default channels in.

required

ID of the IDP group to add default channels for.

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.adminUsergroupsAddchannels()