feat(cli): add coder users delete command (#10115)

This commit is contained in:
Colin Adler
2023-10-09 11:47:57 -05:00
committed by GitHub
parent 24c80bf532
commit 9e622d00a6
15 changed files with 247 additions and 14 deletions

View File

@ -501,7 +501,7 @@ func (api *API) deleteUser(rw http.ResponseWriter, r *http.Request) {
// @Security CoderSessionToken
// @Produce json
// @Tags Users
// @Param user path string true "User ID, name, or me"
// @Param user path string true "User ID, username, or me"
// @Success 200 {object} codersdk.User
// @Router /users/{user} [get]
func (api *API) userByName(rw http.ResponseWriter, r *http.Request) {