Skip to main content

Get an access control policy

GET 

/api/v4/access_control_policies/:policy_id

Gets a specific access control policy by its ID.

Minimum server version: 10.9

Permissions​

Must have the manage_system permission, or one of:

  • for a channel policy, manage_channel_access_rules on the channel (the policy ID).
  • for a parent policy that belongs to the team in team_id (its scope_id is the team, or all its assigned channels are in the team), manage_team_access_rules on that team.
  • for a parent policy imported by the channel in channelId, manage_channel_access_rules on that channel.

Request​

Responses​

Access control policy retrieved successfully.