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
- 200
- 400
- 401
- 403
- 500
Autocomplete fields retrieved successfully.
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Something went wrong with the server