Skip to main content

Get autocomplete fields for access control policies

GET 

/api/v4/access_control_policies/cel/autocomplete/fields

Provides a list of fields that can be used for autocompletion when creating/editing access control policy expressions.

The first page also includes the built-in user fields email, verified, isbot and createat.

Minimum server version: 10.9

Permissions​

Must have the manage_system permission, manage_team_access_rules on the team in team_id (a channelId, if given, must be in that team), or manage_channel_access_rules on the channel in channelId.

Request​

Responses​

Autocomplete fields retrieved successfully.