provider admin.conversationsadmin POST /admin.conversations.setTeams
@utdk/slack /admin.conversations.setTeams
admin_conversations_setTeams
Set the workspaces in an Enterprise grid org that connect to a public or private channel.
token header required
Authentication token. Requires scope: `admin.conversations: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.

adminConversationsSetteams
POST/admin.conversations.setTeams
Set the workspaces in an Enterprise grid org that connect to a public or private channel.

Input

required

The encoded `channel_id` to add or remove to workspaces.

True if channel has to be converted to an org channel

A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.

The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.

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