Skip to content

Commit f87d1df

Browse files
Update rest-api-spec
Co-authored-by: delvedor <[email protected]>
1 parent a89f2f5 commit f87d1df

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

output/schema/schema.json

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"security.has_privileges_user_profile": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges-user-profile.html",
5+
"description": "Determines whether the users associated with the specified profile IDs have all the requested privileges."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "es.user_profile_feature_flag_enabled",
10+
"headers": {
11+
"accept": ["application/json"],
12+
"content_type": ["application/json"]
13+
},
14+
"url": {
15+
"paths": [
16+
{
17+
"path": "/_security/profile/_has_privileges",
18+
"methods": ["GET", "POST"]
19+
}
20+
]
21+
},
22+
"params": {},
23+
"body": {
24+
"description": "The privileges to check and the list of profile IDs",
25+
"required": true
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)