admin_conversations_setTeams
POST
/admin.conversations.setTeams https://slack.com/api
Set the workspaces in an Enterprise grid org that connect to a public or private channel.
Parameters
header Header Parameters
| Name | Type |
|---|---|
token
required
Authentication token. Requires scope: | string |
Request Body
application/x-www-form-urlencoded
required
{
channel_id: string;
org_channel?: boolean;
target_team_ids?: string;
team_id?: string;
}
channel_id: string;
org_channel?: boolean;
target_team_ids?: string;
team_id?: string;
}
Responses
200 application/json
Typical success response
{ ok: DefsOkTrue ; }
default application/json
Typical error response
{ ok: DefsOkFalse ; }