diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 06:09:08 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-21 06:09:08 +0000 |
commit | ab0dd39a49e43f6beed9bdb6414a0f04bcf671b4 (patch) | |
tree | 76fed8c52db143aaab475e59dc3b1610fe653152 /doc/api | |
parent | 2399724614f3c4dcf3059038d997193830de93ee (diff) | |
download | gitlab-ce-ab0dd39a49e43f6beed9bdb6414a0f04bcf671b4.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/keys.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/keys.md b/doc/api/keys.md index 30b0cda6c8b..e05b1191715 100644 --- a/doc/api/keys.md +++ b/doc/api/keys.md @@ -129,8 +129,14 @@ Example response: } ``` -Deploy Keys are bound to the creating user, so if you query with a deploy key -fingerprint you get additional information about the projects using that key: +## Get user by deploy key fingerprint + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/119209) in GitLab 12.7. + +Deploy keys are bound to the creating user, so if you query with a deploy key +fingerprint you get additional information about the projects using that key. + +Example request: ```sh curl --header "PRIVATE-TOKEN: <your_access_token>" 'https://gitlab.example.com/api/v4/keys?fingerprint=SHA256%3AnUhzNyftwADy8AH3wFY31tAKs7HufskYTte2aXo%2FlCg |