Skip to content

Commit 669b8b1

Browse files
committed
Version reference to deleting pacakges
1 parent 0d40fff commit 669b8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/packages/learn-github-packages/about-permissions-for-github-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ To use or manage a package hosted by a package registry, you must use a token wi
4747

4848
For example:
4949
- To download and install packages from a repository, your token must have the `read:packages` scope, and your user account must have read permission.
50-
- {% ifversion fpt or ghes or ghec %}To delete a package on {% data variables.product.product_name %}, your token must at least have the `delete:packages` and `read:packages` scope. The `repo` scope is also required for repo-scoped packages.{% elsif ghae %}To delete a specified version of a package on {% data variables.product.product_name %}, your token must have the `delete:packages` and `repo` scope.{% endif %} For more information, see "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)."
50+
- {% ifversion fpt or ghes > 3.1 or ghec %}To delete a package on {% data variables.product.product_name %}, your token must at least have the `delete:packages` and `read:packages` scope. The `repo` scope is also required for repo-scoped packages. For more information, see "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)."{% elsif ghae %}To delete a specified version of a package on {% data variables.product.product_name %}, your token must have the `delete:packages` and `repo` scope. For more information, see "[Deleting and restoring a package](/packages/learn-github-packages/deleting-and-restoring-a-package)."{% endif %}
5151

5252
| Scope | Description | Required permission |
5353
| --- | --- | --- |

0 commit comments

Comments
 (0)