diff --git a/docs/reference/data-streams/promote-data-stream-api.asciidoc b/docs/reference/data-streams/promote-data-stream-api.asciidoc index 60a26cde82280..aad714569450e 100644 --- a/docs/reference/data-streams/promote-data-stream-api.asciidoc +++ b/docs/reference/data-streams/promote-data-stream-api.asciidoc @@ -29,6 +29,11 @@ POST /_data_stream/_promote/my-data-stream `POST /_data_stream/_promote/` +[[promote-data-stream-api-prereqs]] +==== {api-prereq-title} + +* If the {es} {security-features} are enabled, you must have the `manage` +<> to use this API. [[promote-data-stream-api-path-params]] ==== {api-path-parms-title} diff --git a/docs/reference/indices/create-data-stream.asciidoc b/docs/reference/indices/create-data-stream.asciidoc index 6705afccdfc99..25111a378e20e 100644 --- a/docs/reference/indices/create-data-stream.asciidoc +++ b/docs/reference/indices/create-data-stream.asciidoc @@ -41,6 +41,12 @@ DELETE /_index_template/template `PUT /_data_stream/` +[[indices-create-data-stream-prereqs]] +==== {api-prereq-title} + +* If the {es} {security-features} are enabled, you must have the `create_index` +or `manage` <> for the data stream. + [[indices-create-data-stream-api-path-params]] ==== {api-path-parms-title} diff --git a/docs/reference/indices/data-stream-stats.asciidoc b/docs/reference/indices/data-stream-stats.asciidoc index 52dbf73d2655b..1d6d1fd459377 100644 --- a/docs/reference/indices/data-stream-stats.asciidoc +++ b/docs/reference/indices/data-stream-stats.asciidoc @@ -52,6 +52,12 @@ DELETE /_index_template/* GET /_data_stream/my-data-stream/_stats ---- +[[data-stream-stats-api-prereqs]] +==== {api-prereq-title} + +* If the {es} {security-features} are enabled, you must have the +`monitor` or `manage` <> +for the data stream. [[data-stream-stats-api-request]] ==== {api-request-title} diff --git a/docs/reference/indices/delete-data-stream.asciidoc b/docs/reference/indices/delete-data-stream.asciidoc index e40ec97254e26..3add84dbf7573 100644 --- a/docs/reference/indices/delete-data-stream.asciidoc +++ b/docs/reference/indices/delete-data-stream.asciidoc @@ -40,6 +40,12 @@ DELETE /_index_template/template `DELETE /_data_stream/` +[[delete-data-stream-api-prereqs]] +==== {api-prereq-title} + +* If the {es} {security-features} are enabled, you must have the `delete_index` +or `manage` <> for the data stream. + [[delete-data-stream-api-path-params]] ==== {api-path-parms-title} diff --git a/docs/reference/indices/get-data-stream.asciidoc b/docs/reference/indices/get-data-stream.asciidoc index 500cce89cd845..d9d69eb530bd7 100644 --- a/docs/reference/indices/get-data-stream.asciidoc +++ b/docs/reference/indices/get-data-stream.asciidoc @@ -75,6 +75,13 @@ GET /_data_stream/my-data-stream `GET /_data_stream/` +[[get-data-stream-api-prereqs]] +==== {api-prereq-title} + +* If the {es} {security-features} are enabled, you must have the +`view_index_metadata` or `manage` <> +for the data stream. + [[get-data-stream-api-path-params]] ==== {api-path-parms-title} diff --git a/docs/reference/indices/migrate-to-data-stream.asciidoc b/docs/reference/indices/migrate-to-data-stream.asciidoc index 3a46024850d6d..a7862532afa87 100644 --- a/docs/reference/indices/migrate-to-data-stream.asciidoc +++ b/docs/reference/indices/migrate-to-data-stream.asciidoc @@ -72,6 +72,12 @@ DELETE /_index_template/template `POST /_data_stream/_migrate/` +[[indices-migrate-to-data-stream-prereqs]] +==== {api-prereq-title} + +* If the {es} {security-features} are enabled, you must have the `manage` +<> for the index alias. + [[indices-migrate-to-data-stream-api-path-params]] ==== {api-path-parms-title}