provider admin.conversations.restrictAccessadmin POST /admin.conversations.restrictAccess.addGroup
@utdk/slack /admin.conversations.restrictAccess.addGroup
admin_conversations_restrictAccess_addGroup
Add an allowlist of IDP groups for accessing a channel

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.

adminConversationsRestrictaccessAddgroup
POST/admin.conversations.restrictAccess.addGroup
Add an allowlist of IDP groups for accessing a channel

Input

required

The channel to link this group to.

required

The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel.

The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.

required

Authentication token. Requires scope: `admin.conversations:write`

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