package_type belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "About permissions for GitHub Packages."read:packages and write:packages scopes to use this endpoint. If the package_type belongs to a GitHub Packages registry that only supports repository-scoped permissions, the repo scope is also required. For the list of these registries, see "About permissions for GitHub Packages."curl --location --request POST 'https://service1.exmaple.com/orgs//packages///restore'{
"message": "string",
"documentation_url": "string",
"url": "string",
"status": "string"
}