Files
elasticsearch-js/docs/reference/api/SecurityUpdateUserProfileDataRequest.md
2025-05-27 15:30:21 -05:00

13 lines
1.7 KiB
Markdown

## Interface `SecurityUpdateUserProfileDataRequest`
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { uid?: never; if_seq_no?: never; if_primary_term?: never; refresh?: never; labels?: never; data?: never; }) | All values in `body` will be added to the request body. |
| `data` | Record<string, any> | 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. |
| `if_primary_term` | [long](./long.md) | Only perform the operation if the document has this primary term. |
| `if_seq_no` | [SequenceNumber](./SequenceNumber.md) | Only perform the operation if the document has this sequence number. |
| `labels` | Record<string, any> | 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 ( `.`). |
| `querystring` | { [key: string]: any; } & { uid?: never; if_seq_no?: never; if_primary_term?: never; refresh?: never; labels?: never; data?: never; } | All values in `querystring` will be added to the request querystring. |
| `refresh` | [Refresh](./Refresh.md) | 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. |
| `uid` | [SecurityUserProfileId](./SecurityUserProfileId.md) | A unique identifier for the user profile. |