Create new Joomla user.
This method requires that a persistent HTTP sessions can be maintained between the client and server since the user returned with respect to the current browser (or other persistent) session.
https://yourdomain.com/api/v1/user/edit
Option | Description |
---|---|
Response formats | JSON |
Requires authentication | YES |
Rate limited | YES |
Name | Details |
---|---|
name |
|
username |
|
password |
|
|
|
groups |
|
If the groups list is missing, null or out of bounds, it will default to group ids array(1,2).
POST https://yourdomain.com/api/v1/user/edit ?name=First Last &username=firstlast &password=randompassword
{
"id": 344,
"error": false,
"status": 200
}
HTTP/1.1 200 OK
Date: Wed, 23 Mar 2016 03:30:05 GMT
Server: Apache/2.2.15
X-Powered-By: PHP/5.4.45
Access-Control-Allow-Origin: *
Joomla-Sessionid: 34343434343434343434343434
Access-Control-Allow-Headers: X-Requested-With, Origin, Content-Type, token, dlid, nonce
Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json