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'
{}