Update user profile data | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Query parameters
- Only perform the operation if the document has this sequence number.
- Only perform the operation if the document has this primary term.
- If 'true', Elasticsearch refreshes the affected shards to make this operation visible to search. If 'wait_for', it waits for a refresh to make this operation visible to search. If 'false', nothing is done with refreshes.
Values aretrue
,false
, orwait_for
.
application/json
Body Required
- Searchable data that you want to associate with the user profile. This field supports a nested data structure. Within the labels object, top-level keys cannot begin with an underscore (
_
) or contain a period (.
).
Hide labels attribute Show labels attribute object- *
object Additional properties
- *
- Non-searchable data that you want to associate with the user profile. This field supports a nested data structure. Within the
data
object, top-level keys cannot begin with an underscore (_
) or contain a period (.
). The data object is not searchable, but can be retrieved with the get user profile API.
Hide data attribute Show data attribute object- *
object Additional properties
- *
Responses
- 200 application/json
Hide response attribute Show response attribute object- For a successful response, this value is always true. On failure, an exception is returned instead.