It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Upload stack packedit
Adds a new or updates an existing Elastic Stack pack and its template.
Besides multipart/form-data
requests, the endpoint supports application/zip
and application/octet-stream
requests with a binary body. Maximum size of the payload is 1Mb.
If the archive contains a stack configuration that is already available through the API, then the existing configuration and its template will be overwritten.
Requestedit
POST /api/v1/stack/versions
Form Parametersedit
Name | Type | Required | Description |
---|---|---|---|
|
|
Y |
Zip file that contains one or multiple stack configurations |
Responsesedit
-
200
-
(
StackVersionArchiveProcessingResult
) The Stack Pack was processed successfully -
400
-
(
BasicFailedReply
) Bad archive or some unexpected error occurred
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request exampleedit
curl -XPOST {{hostname}}/api/v1/stack/versions \ -u $CLOUD_USER:$CLOUD_KEY