getAlby / lndhub.go

Accounting wrapper for the Lightning Network. It provides separate accounts for end-users. (LndHub compatible API written in Go)
GNU General Public License v3.0
86 stars 23 forks source link

Restful user update endpoint /v2/admin/users/:id #380

Open bumi opened 1 year ago

bumi commented 1 year ago

For restfulness the user update call should not be a put request to the collection but to the member. - we want to update a specific user.

e.PUT("/v2/admin/users", ...) => e.PUT("/v2/admin/users/:id", ...)