-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathsecurity.enable_user.json
34 lines (34 loc) · 1.03 KB
/
security.enable_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
{
"security.enable_user": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html",
"description": "Enables users in the native realm."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_security/user/{username}/_enable",
"methods": ["PUT", "POST"],
"parts": {
"username": {
"type": "string",
"description": "The username of the user to enable"
}
}
}
]
},
"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."
}
}
}
}