[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Delete Version
DescriptionSubmit delete version request by image id and version id. This operation will occur in background.
Note: 1. This deletes the version and all assets associated with this version. If there is only one version associated with the image, this deletes the image as well.
2. A version should be deleted only when all pools associated with it are deleted.
3. If force delete option is used, resources won’t be deleted from provider, only records from the service will be deleted.
Request
URLURL
https://cloud.vmwarehorizon.com/imagemgmt/v1/images/{imageId}/versions/{versionId}
Path Parameters
Path Parameters
string
imageId
Required
imageId
string
versionId
Required
versionId
Query Parameters
Query Parameters
boolean
force
Optional
force
string
org_id
Optional
org_id
Authentication
This operation uses the following authentication methods.
Errors
Code Samples
Code Samples
cURL Command
curl -X DELETE https://cloud.vmwarehorizon.com/imagemgmt/v1/images/{imageId}/versions/{versionId}
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen