Skip to content

Complete admin APIs for SSH Keys

Matthias Käppler requested to merge github/fork/thekid/master into master

Created by: thekid

In gitlabhq/gitlabhq#3146, an admin API to add SSH keys to a specified user was added. This pull request complements this by adding a list and delete API. This way, admin users can fully manage users' SSH keys.

  • GET /users/:uid/keys -> Get a list of a specified user's SSH keys (🆕)
  • POST /users/:id/keys -> Create new key owned by specified user.
  • DELETE /users/:uid/keys/:id -> Deletes key owned by a specified user. (🆕)

Merge request reports