Restrict Access

Admin Conversations Restrict Access Remove Group

POST
/admin.conversations.restrictAccess.removeGroup

Remove a linked IDP group linked from a private channel

Authorization

slackAuth admin.conversations:write
AuthorizationBearer <token>

In: header

Scope: admin.conversations: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.conversations:write

team_id*string

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.

group_id*string

The IDP Group ID to remove from the private channel.

channel_id*string

The channel to remove the linked group from.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.conversations.restrictAccess.removeGroup" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'token=string&team_id=string&group_id=string&channel_id=string'
{  "ok": "True"}