66 lines
4.2 KiB
Plaintext
66 lines
4.2 KiB
Plaintext
[[reference-security-update_user_profile_data]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
[discrete]
|
|
=== client.security.updateUserProfileData
|
|
|
|
Update user profile data. Update specific data for the user profile that is associated with a unique ID.
|
|
|
|
{ref}/security-api-update-user-profile-data.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(SecurityUpdateUserProfileDataRequest, options?): Promise<SecurityUpdateUserProfileDataResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `SecurityUpdateUserProfileDataRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface SecurityUpdateUserProfileDataRequest extends <<shared-type-request-base, RequestBase>> {
|
|
uid: SecurityUserProfileId
|
|
if_seq_no?: <<shared-type-sequence-number, SequenceNumber>>
|
|
if_primary_term?: <<shared-type-long, long>>
|
|
refresh?: <<shared-type-refresh, Refresh>>
|
|
labels?: Record<string, any>
|
|
data?: Record<string, any>
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `SecurityUpdateUserProfileDataResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
type SecurityUpdateUserProfileDataResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
|
|
----
|
|
|