Browse Source

Add missing header in put_data_lifecycle rest-api-spec (#116292) (#116370)

Quentin Pradet 11 months ago
parent
commit
e76f73ba5f

+ 5 - 0
docs/changelog/116292.yaml

@@ -0,0 +1,5 @@
+pr: 116292
+summary: Add missing header in `put_data_lifecycle` rest-api-spec
+area: Data streams
+type: bug
+issues: []

+ 2 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_data_lifecycle.json

@@ -7,7 +7,8 @@
     "stability":"stable",
     "visibility":"public",
     "headers":{
-      "accept": [ "application/json"]
+      "accept": [ "application/json"],
+      "content_type": ["application/json"]
     },
     "url": {
       "paths": [