mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
corrected error with AddUsers A state
This commit is contained in:
parent
8c46ec3f6f
commit
a34f3dc640
1 changed files with 1 additions and 1 deletions
2
help.md
2
help.md
|
|
@ -39,7 +39,7 @@
|
|||
# User Management
|
||||
| Name | Path | Method | A | Description |
|
||||
| :----------: | :------------------------------------- | :----: | :---: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| AddUser | /user/{name} | POST | true | registers a user with the name `{name}`, balance of 0 and a password of the password supplied in the body |
|
||||
| AddUser | /user/{name} | POST | false | registers a user with the name `{name}`, balance of 0 and a password of the password supplied in the body |
|
||||
| AdminAddUser | /admin/user/{name}?init_bal={init_bal} | POST | true | if the password supplied in the header matches the admin password, then it registers a user with the name `{name}`, balance of `init_bal` and a password supplied by the body of the request |
|
||||
| DelUser | /user/{name} | DELETE | true | if the password supplied in the header matches the user `{name}`'s password, then the user is deleted |
|
||||
| AdminDelUser | /admin/user/{name} | DELETE | true | if the password supplied in the header matches the admin password, then the user is deleted |
|
||||
Loading…
Reference in a new issue