Suggest a user profile
- POST GET /_security/profile/_suggest
Get suggestions for user profiles that match specified search criteria.
The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions. Individual users and external applications should not call this API directly. Elastic reserves the right to change or remove this feature in future releases without prior notice.
Required privileges
read_security
Query parameters
-
dataunion string | string[] -
A comma-separated list of filters for the
datafield of the profile document. To return all content usedata=*. To return a subset of content, usedata=<key>to retrieve content nested under the specified<key>. By default, the API returns nodatacontent. It is an error to specifydataas both the query parameter and the request body field.
Request body
-
namestring -
A query string used to match name-related fields in user profile documents. Name-related fields are the user's
username,full_name, andemail. -
dataunion string | string[] -
A comma-separated list of filters for the
datafield of the profile document. To return all content usedata=*. To return a subset of content, usedata=<key>to retrieve content nested under the specified<key>. By default, the API returns nodatacontent. It is an error to specifydataas both the query parameter and the request body field.