diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-24 09:09:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-24 09:09:38 +0300 |
commit | fe9cb6b25add197beb8a427371c49e7b43baeea5 (patch) | |
tree | efbc888e158c51a6256a92057d9828259e01f13e /doc/api/README.md | |
parent | 3261f18a4b8461a90663336ce9e44c0c2306d46a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/README.md')
-rw-r--r-- | doc/api/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/README.md b/doc/api/README.md index b07f14b5a7a..f5b89a2a27a 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -218,6 +218,7 @@ Only available to [administrators](../user/permissions.md). All API requests support performing an API call as if you were another user, provided you are authenticated as an administrator with an OAuth or Personal Access Token that has the `sudo` scope. +The API requests are executed with the permissions of the impersonated user. You need to pass the `sudo` parameter either via query string or a header with an ID/username of the user you want to perform the operation as. If passed as a header, the |