read:packages
and write:packages
scopes. In addition:package_type
belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the repo
scope. For the list of these registries, see "About permissions for GitHub Packages."package_type
belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "About permissions for GitHub Packages."curl --location --request POST 'https://api.github.com/users//packages///versions//restore'
{}
maven
. Docker images pushed to GitHub's Container registry (ghcr.io
) have the type container
. You can use the type docker
to find images that were pushed to GitHub's Docker registry (docker.pkg.github.com
), even if these have now been migrated to the Container registry.