POST /admin.conversations.setTeams
Set the workspaces in an Enterprise grid org that connect to a public or private channel.
Servers
- https://slack.com/api
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
token |
String | Yes |
Authentication token. Requires scope: |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
team_id |
String | No |
The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. |
channel_id |
String | Yes |
The encoded |
target_team_ids |
String | No |
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 | No |
True if channel has to be converted to an org channel |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.