update_user_field_schema
Control which user fields appear in search tables and which are available as filters for directory tools. Change only the fields you want; omitted fields keep their current settings.
Instructions
Update display and filter settings for specific user fields. Only include fields you want to change — omitted fields keep their current settings. Use this when the operator wants to: show or hide a field in user search result tables (display), or enable/disable a field for schema-aware directory filtering (filterable). This is an admin/configuration tool, not a prerequisite for ordinary filtered user-list requests. FIELD KEYS: Use the exact short field keys from get_user_field_schema (common keys: id, fullname, email, username, department, institution, city, country, firstaccess, lastaccess, suspended, confirmed, idnumber). For a single field, prefer the shortcut fields: field='username', display=false. EXAMPLES: 'hide username from user tables' → {"field":"username","display":false}. 'hide firstaccess and department from user tables' → {"updates":{"firstaccess":{"display":false},"department":{"display":false}}}. 'make city visible in tables and available to schema-aware filters' → {"updates":{"city":{"display":true,"filterable":true}}}. 'show a discovered custom field in tables' → {"updates":{"customFieldKey":{"display":true}}}."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | Shortcut for updating one field key, e.g. username | |
| display | No | Shortcut value for whether the single field appears in user tables | |
| updates | No | Map of field keys to new settings. Only include fields you want to change. | |
| filterable | No | Shortcut value for whether schema-aware directory tools can use the single field as a filter |