Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-11-05 03:13:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-11-05 03:13:17 +0300
commitcdd01f01dcca9b2ec93f3e0538329c0b6cb222ae (patch)
tree13c6a586eeab9ae476b51ece57e8bfe78aa85e5e /doc/user/packages/generic_packages
parent2fdc3eaafbfcaef2dcfea4629be5ec67595e7e6f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/packages/generic_packages')
-rw-r--r--doc/user/packages/generic_packages/index.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/user/packages/generic_packages/index.md b/doc/user/packages/generic_packages/index.md
index c5472ca0536..72a5b9e1fb4 100644
--- a/doc/user/packages/generic_packages/index.md
+++ b/doc/user/packages/generic_packages/index.md
@@ -35,7 +35,10 @@ When you publish a package file, if the package does not exist, it is created.
Prerequisites:
-- You need to [authenticate with the API](../../../api/index.md#authentication). If authenticating with a deploy token, it must be configured with the `write_package_registry` scope.
+- You must [authenticate with the API](../../../api/index.md#authentication).
+ If authenticating with a deploy token, it must be configured with the `write_package_registry`
+ scope. If authenticating with a personal access token or project access token, it must be
+ configured with the `api` scope.
```plaintext
PUT /projects/:id/packages/generic/:package_name/:package_version/:file_name?status=:status