-
Notifications
You must be signed in to change notification settings - Fork 0
api auth user set
Alban LEROUX edited this page Oct 3, 2011
·
3 revisions
Update a username and or password.
- require
admingrant access *
{
"method" : "auth.user.set",
"request" :
{
"username" : "jhon",
"newname" : "eric",
"password" : "27cee4f2a55d7cc1d03d152607199d59",
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.user.set</method>
<request>
<username>jhon</username>
<newname>eric</newname>
<password>27cee4f2a55d7cc1d03d152607199d59</password>
</refresh>
</xml>{
"status" : "valid",
"response" :
{
"message" : "user updated"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<message>user updated</message>
</response>
</xml>username the user name
newname [optional] the new user name
password [optional] the new user password hashed with MD5
auth.config.get
auth.config.set
auth.request
auth.token
auth.refresh
auth.destroy
auth.user.add
auth.user.set
auth.user.del
auth.user.get
auth.user.list
auth.entity.add
auth.entity.set
auth.entity.del
auth.entity.get
auth.entity.list
auth.grant.add
auth.grant.set
auth.grant.del
auth.grant.get
auth.grant.list