Query API key information API only accepts "aggs" and not "aggregations" #106839
Labels
>bug
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
Elasticsearch Version
8.13.0
Installed Plugins
No response
Java Version
bundled
OS Version
elasticsearch cloud
Problem Description
Query API key information API returns:
[query_api_key_request_payload] unknown field [aggregations]
when called using
aggregations
instead ofaggs
, in the main aggregation (while the sub aggregations accept both).Here's the line where we could see that it only accepts
aggs
.This is a problem for the client libraries since all other aggregations accept both names.
Steps to Reproduce
Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: