| 12345678910111213141516171819202122232425262728293031323334353637383940414243 | [role="xpack"][[promote-data-stream-api]]=== Promote data stream API++++<titleabbrev>Promote data stream</titleabbrev>++++The purpose of the promote data stream api is to turna data stream that is replicated by CCR into a regulardata stream.Via CCR Auto Following, a data stream from a remote clustercan be replicated to the local cluster. These data streamscan't be rolled over in the local cluster. Only if the upstreamdata stream rolls over then these replicated data streams rollover as well. In the event that the remote cluster is no longeravailable, the data stream in the local cluster can be promotedto a regular data stream, which allows these data streams tobe rolled over in the local cluster.[source,console]----POST /_data_stream/_promote/my-data-stream----// TEST[catch:missing][[promote-data-stream-api-request]]==== {api-request-title}`POST /_data_stream/_promote/<data-stream>`[[promote-data-stream-api-prereqs]]==== {api-prereq-title}* If the {es} {security-features} are enabled, you must have the `manage_follow_index`<<privileges-list-cluster,cluster privilege>> to use this API.[[promote-data-stream-api-path-params]]==== {api-path-parms-title}`<data-stream>`::(Required, string)The name of the data stream to promote.
 |