-
Notifications
You must be signed in to change notification settings - Fork 0
api auth user set
Alban LEROUX edited this page Mar 10, 2012
·
3 revisions
Update a user name, password and or email.
require admin
or self
grant access
NOTE:
self
grant is not a real grant, it means that a authenticated user can act on its data.
GET http://example.com/api/get/auth.user.set/json/?user=jhon&name=eric&email=eric%40pixelpost.net
{
"method" : "auth.user.set",
"request" :
{
"user" : "jhon",
"name" : "eric",
"email" : "[email protected]"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.user.set</method>
<request>
<user>jhon</user>
<name>eric</name>
<email>[email protected]</email>
</refresh>
</xml>
{
"status" : "valid",
"response" :
{
"user" : "eric"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<user>eric</user>
</response>
</xml>
- user: The user identifier
- [name]: The new user name
- [password]: The new user password hashed with MD5
- [email]: The new user email
- user: the user identifier
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