Update stack version
editUpdate stack version
editUpdates the Elastic Stack version configuration.
Request
editPUT /api/v1/stack/versions/{version}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
The Elastic Stack version. For example, |
Request body
edit(StackVersionConfigPost
) (required) Elastic Stack configuration object
Responses
edit-
200
-
The Elastic Stack version successfully updated.
-
404
-
The Elastic Stack version can't be found. (code:
stackpack.missing_platform_version
)Headers
-
x-cloud-error-codes
(string
; allowed values: [stackpack.missing_platform_version
]) - The error codes associated with the response
-
Request example
editcurl -XPUT https://{{hostname}}/api/v1/stack/versions/{version} \ -H "Authorization: ApiKey $ECE_API_KEY" \ -H 'Content-Type: application/json' \ -d ' { "apm" : { "blacklist" : [ "string" ], "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "docker_image" : "string", "settings" : {}, "version" : "string" }, "appsearch" : { "blacklist" : [ "string" ], "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "docker_image" : "string", "node_types" : [ { "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "description" : "string", "mandatory" : true, "name" : "string", "node_type" : "string", "settings" : {} } ], "settings" : {}, "version" : "string" }, "elasticsearch" : { "blacklist" : [ "string" ], "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "default_plugins" : [ "string" ], "docker_image" : "string", "node_types" : [ { "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "description" : "string", "mandatory" : true, "name" : "string", "node_type" : "string", "settings" : {} } ], "plugins" : [ "string" ], "settings" : {} }, "enterprise_search" : { "blacklist" : [ "string" ], "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "docker_image" : "string", "node_types" : [ { "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "description" : "string", "mandatory" : true, "name" : "string", "node_type" : "string", "settings" : {} } ], "settings" : {}, "version" : "string" }, "integrations_server" : { "blacklist" : [ "string" ], "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "docker_image" : "string", "settings" : {}, "version" : "string" }, "kibana" : { "blacklist" : [ "string" ], "capacity_constraints" : { "max" : 0, "min" : 0 }, "compatible_node_types" : [ "string" ], "docker_image" : "string", "settings" : {}, "version" : "string" }, "metadata" : { "min_index_compatibility_version" : "string", "min_platform_version" : "string", "min_wire_compatibility_version" : "string", "notes" : "string", "pre_release" : true, "schema_version" : 0 } } '