/admin.usergroups.addChannels
POST
/admin.usergroups.addChannelsAdd one or more default channels to an IDP group.
Request
Header Params
token
string
required
Authentication token. Requires scope: admin.usergroups:write
Body Params application/x-www-form-urlencoded
channel_ids
string
required
Comma separated string of channel IDs.
team_id
string
optional
The workspace to add default channels in.
usergroup_id
string
required
ID of the IDP group to add default channels for.
Request samples
Responses
Typical success response(200)
Typical error response if the token provided is not associated with an Org Admin or Owner(500)
Typical success response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
ok
#/definitions/700149required
Additional properties
integer | number | string | boolean
optional
Exampleresponse
{
"ok": true
}
Last modified: a year ago