docs: remove WrongAdminPassword error response

This commit is contained in:
Luke Bennett 2021-06-13 21:24:48 +01:00 committed by GitHub
parent cc6b9df34d
commit d3b2c90dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@
| -1 | UserNotFound | | -1 | UserNotFound |
| -2 | WrongPassword | | -2 | WrongPassword |
| -3 | InvalidRequest | | -3 | InvalidRequest |
| -4 | WrongAdminPassword |
| -5 | NameTooLong | | -5 | NameTooLong |
| -6 | UserAlreadyExists | | -6 | UserAlreadyExists |
| -7 | InsufficientFunds | | -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 | | 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 | | 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 | | 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 |