Delete all redundant versions for a component in an environment

A version is considered redundant if all of its files have been replaced by versions that have been deployed more recently to the same environment.

Request

DELETE https://{hostname}:{port}
    /cli/environment/{environmentId}/redundantVersions/{componentId}?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
deleteRedundant boolean false If set to true, redundant versions will be removed from the environment's inventory.
Table 2. URL parameters
Parameter Type Required Description
environmentId string true
componentId string true Name or ID of the component
Table 3. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: deleteRedundantDesiredInventoryVersions.