mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
docs: remove WrongAdminPassword error response
This commit is contained in:
parent
cc6b9df34d
commit
d3b2c90dc1
1 changed files with 1 additions and 2 deletions
3
help.md
3
help.md
|
|
@ -5,7 +5,6 @@
|
|||
| -1 | UserNotFound |
|
||||
| -2 | WrongPassword |
|
||||
| -3 | InvalidRequest |
|
||||
| -4 | WrongAdminPassword |
|
||||
| -5 | NameTooLong |
|
||||
| -6 | UserAlreadyExists |
|
||||
| -7 | InsufficientFunds |
|
||||
|
|
@ -42,4 +41,4 @@
|
|||
| AddUser | /user/{name} | POST | true | registers a user with the name `{name}`, balance of 0 and a password of the password supplied in the header |
|
||||
| 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 |
|
||||
| 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