Admin
Admin Teams Settings Set Default Channels
Set the default channels of a workspace.
Authorization
slackAuth admin.teams:writeAuthorizationBearer <token>
In: header
Scope: admin.teams:write
Header Parameters
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
token*string
Authentication token. Requires scope: admin.teams:write
team_id*string
ID for the workspace to set the default channel for.
channel_ids*string
An array of channel IDs.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.teams.settings.setDefaultChannels" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'token=string&team_id=string&channel_ids=string'{ "ok": "True"}
