Conversations
Admin Conversations Set Teams
Set the workspaces in an Enterprise grid org that connect to a public or private channel.
Authorization
slackAuth admin.conversations:writeAuthorizationBearer <token>
In: header
Scope: admin.conversations:write
Header Parameters
token*string
Authentication token. Requires scope: admin.conversations:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
channel_id*string
The encoded channel_id to add or remove to workspaces.
team_id?string
The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
target_team_ids?string
A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide.
org_channel?boolean
True if channel has to be converted to an org channel
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.conversations.setTeams" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'channel_id=string'{ "ok": "True"}
