change user password via accounts API

This commit is contained in:
Hunter Kehoe 2025-01-25 21:25:59 -07:00
parent b2b9891a58
commit 8f9dafce20
4 changed files with 54 additions and 0 deletions

View file

@ -257,6 +257,7 @@ type apiUserAddRequest struct {
Username string `json:"username"`
Password string `json:"password"`
Tier string `json:"tier"`
Force bool `json:"force"` // Used to change passwords/override existing user
// Do not add 'role' here. We don't want to add admins via the API.
}