Skip to main content

Unassign an access control policy from channels or teams

DELETE 

/api/v4/access_control_policies/:policy_id/unassign

Unassigns an access control policy from a list of channels and/or teams.

Minimum server version: 10.9

Permissions​

Must have the manage_system permission, or manage_team_access_rules on the team in team_id for a parent policy that belongs to that team (its scope_id is the team, or all its assigned channels are in the team). A team admin must give at least one channel in channel_ids, all in that team, and can't use team_ids.

Request​

Responses​

Policy unassigned from the channels and/or teams successfully.