Delete a version from a component

Request

PUT https://{hostname}:{port}
    /cli/version/deleteVersion?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
component string false Name or ID of the component
version string true Name or ID of the version(s) to be deleted. This option can be repeated to delete multiple versions.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example

curl -k -u jsmith:passwd 
   
  "https://deployserver.example.com:8443/cli/version/deleteVersion
  ?component=MyComponent&version=1.0" -X PUT

Related CLI command: deleteVersion.