-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathsecurity.update_user_profile_data.json
47 lines (47 loc) · 1.63 KB
/
security.update_user_profile_data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"security.update_user_profile_data": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-update-user-profile-data.html",
"description": "Update application specific data for the user profile of the given unique ID."
},
"stability": "stable",
"visibility": "private",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_security/profile/{uid}/_data",
"methods": ["PUT", "POST"],
"parts": {
"uid": {
"type": "string",
"description": "An unique identifier of the user profile"
}
}
}
]
},
"params": {
"if_seq_no": {
"type": "number",
"description": "only perform the update operation if the last operation that has changed the document has the specified sequence number"
},
"if_primary_term": {
"type": "number",
"description": "only perform the update operation if the last operation that has changed the document has the specified primary term"
},
"refresh": {
"type": "enum",
"options": ["true", "false", "wait_for"],
"description": "If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes."
}
},
"body": {
"description": "The application data to update",
"required": true
}
}
}