Delete stack version
Uses the deleted
flag, which removes only that version of the Elastic Stack from the list of available versions. To restore the version, send an update request. For more information, see the PUT request.
Path parameters
-
The Elastic Stack version. For example,
5.3.1
or5.0.0-RC4
.
DELETE
/stack/versions/{version}
curl \
-X DELETE https://{{hostname}}/api/v1/stack/versions/{version}
Response examples (200)
{}
Response examples (404)
# Headers
x-cloud-error-codes: stackpack.version_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}