Updates the status of one or more versions of a package. Using <code>UpdatePackageVersionsStatus</code>, you can update the status of package versions to <code>Archived</code>, <code>Published</code>, or <code>Unlisted</code>. To set the status of a package version to <code>Disposed</code>, use <a href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html">DisposePackageVersions</a>.
Query parameters
The name of the domain that contains the repository that contains the package versions with a status to be updated.
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
The repository that contains the package versions with the status you want to update.
A format that specifies the type of the package with the statuses to update.
The name of the package with the version statuses to update.
Request body
Response
Success