-
Notifications
You must be signed in to change notification settings - Fork 25.1k
/
Copy pathsecurity.put_user.json
40 lines (40 loc) · 1018 Bytes
/
security.put_user.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
{
"security.put_user":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html"
},
"stability":"stable",
"url":{
"paths":[
{
"path":"/_security/user/{username}",
"methods":[
"PUT",
"POST"
],
"parts":{
"username":{
"type":"string",
"description":"The username of the User"
}
}
}
]
},
"params":{
"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 user to add",
"required":true
}
}
}