1
0
Fork 0

fixed misleading documentation

This commit is contained in:
jsteemann 2017-03-03 12:05:05 +01:00
parent cd5c9b8327
commit cdf8fbac7f
1 changed files with 8 additions and 6 deletions

View File

@ -180,9 +180,10 @@ An optional JSON object with arbitrary extra data about the user.
@RESTDESCRIPTION
Replaces the data of an existing user. The name of an existing user
must be specified in user. You can only change the password of your
self. You need access to the *_system* database to change the
*active* flag.
must be specified in *user*. When authentication is turned on in the
server, only users that have read and write permissions for the *_system*
database can change other users' data. Additionally, a user can change
his/her own data.
@RESTRETURNCODES
@ -240,9 +241,10 @@ An optional JSON object with arbitrary extra data about the user.
@RESTDESCRIPTION
Partially updates the data of an existing user. The name of an existing
user must be specified in *user*. You can only change the password of your
self. You need access to the *_system* database to change the
*active* flag.
user must be specified in *user*. When authentication is turned on in the
server, only users that have read and write permissions for the *_system*
database can change other users' data. Additionally, a user can change
his/her own data.
@RESTRETURNCODES