Delete stack version

DELETE /stack/versions/{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

  • version string Required

    The Elastic Stack version. For example, 5.3.1 or 5.0.0-RC4.

Responses

  • The deleted flag is applied to the specified Elastic Stack version.

    Additional properties are allowed.

  • The Elastic Stack version can't be found. (code: stackpack.version_not_found)

    Hide headers attribute Show headers attribute
    • The error codes associated with the response

      Value is stackpack.version_not_found.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

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"
      ]
    }
  ]
}