forgejo/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 Add fingerprint to ssh key endpoints. (#3009) 2017-11-28 17:21:39 +02:00
misc Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
org Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
repo Fix error message sanitiziation (#3082) 2017-12-04 03:48:03 +02:00
swagger Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00
user Delete a user's public key via admin api (closes #3014) (#3059) 2017-12-06 12:27:10 +02:00
utils Fix API status code for hook creation (#2814) 2017-11-20 15:00:53 +08:00
api.go Delete a user's public key via admin api (closes #3014) (#3059) 2017-12-06 12:27:10 +02:00