-
Notifications
You must be signed in to change notification settings - Fork 0
api auth user add
Alban LEROUX edited this page Oct 3, 2011
·
3 revisions
Add a new user.
- require
admingrant access *
{
"method" : "auth.user.add",
"request" :
{
"username" : "jhon",
"password" : "fa10c4d7b02a13e27a2ae5a5bbe8130b"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<method>auth.user.add</method>
<request>
<username>jhon</username>
<password>fa10c4d7b02a13e27a2ae5a5bbe8130b</password>
</refresh>
</xml>{
"status" : "valid",
"response" :
{
"message" : "user added"
}
}<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<xml>
<status>valid</status>
<response>
<message>user added</message>
</response>
</xml>username the user name
password the 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