[DOCS] Add security privileges to repositories monitoring API docs (#67944) (#67990)

This commit is contained in:
James Rodewig 2021-01-26 11:32:16 -05:00 committed by GitHub
parent 9ba0c53bc8
commit fcc1f0ae59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,12 @@ Removes the archived repositories metering information present in the cluster.
`DELETE /_nodes/<node_id>/_repositories_metering/<max_version_to_clear>`
[[clear-repositories-metering-archive-ap-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the `monitor` or
`manage` <<privileges-list-cluster,cluster privilege>> to use this API.
[[clear-repositories-metering-archive-api-desc]]
==== {api-description-title}

View File

@ -13,6 +13,12 @@ Returns cluster repositories metering information.
`GET /_nodes/<node_id>/_repositories_metering`
[[get-repositories-metering-api-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the `monitor` or
`manage` <<privileges-list-cluster,cluster privilege>> to use this API.
[[get-repositories-metering-api-desc]]
==== {api-description-title}