Delete all versions for a component in an environment

Request

DELETE https://{hostname}:{port}
    /cli/environment/{environmentId}/versions/{componentId}?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
deleteVersions boolean false If set to true, 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: deleteAllDesiredInventoryVersions.