0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 07:54:52 +01:00
gitea/routers/api/v1
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes #3014) (#3059)
* Delete a user's public key via admin api

* Test admin ssh endpoint for creating a new ssh key

* Adapt public ssh key test to also test the delete operation

* Test that deleting a missing key will result in a 404

* Test that a normal user can't delete another user's ssh key

* Make DeletePublicKey return err

* Update swagger doc
2017-12-06 12:27:10 +02:00
..
admin Delete a user's public key via admin api (closes #3014) (#3059) 2017-12-06 12:27:10 +02:00
convert
misc
org
repo
swagger
user Delete a user's public key via admin api (closes #3014) (#3059) 2017-12-06 12:27:10 +02:00
utils
api.go Delete a user's public key via admin api (closes #3014) (#3059) 2017-12-06 12:27:10 +02:00