Commit f2997a5f authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'trizzi-master-patch-95123' into 'master'

Add note about tokens to generic registry

See merge request gitlab-org/gitlab!73779
parents 012cf166 7feaa20f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment