/admin.conversations.restrictAccess.addGroup
POST
/admin.conversations.restrictAccess.addGroupAdd an allowlist of IDP groups for accessing a channel
Request
Body Params application/x-www-form-urlencoded
channel_id
string
required
The channel to link this group to.
group_id
string
required
The IDP Group ID to be an allowlist for the private channel.
team_id
string
optional
The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization.
token
string
required
Authentication token. Requires scope: admin.conversations:write
Request samples
Responses
Typical success response(200)
Typical error response(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