deletePackageVersions
inline suspend fun CodeartifactClient.deletePackageVersions(crossinline block: DeletePackageVersionsRequest.Builder.() -> Unit): DeletePackageVersionsResponse
Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived
. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListPackageVersions), but you can restore them using UpdatePackageVersionsStatus.