Test an access control policy expression
POST/api/v4/access_control_policies/cel/test
Tests an access control policy expression against users to see who would be affected.
Without the manage_system permission, the result is empty unless
the caller satisfies the expression, and user profiles are sanitized
as for any non-admin. With teamId, system and team admins get only
members of that team.
Minimum server version: 10.9
Permissions
Must have the manage_system permission, manage_team_access_rules
on the team in teamId (a channelId, if given, must be in that
team), or manage_channel_access_rules on the channel in channelId.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Expression test result.
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Something went wrong with the server