POST user/edit

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.

Resource URL

https://yourdomain.com/api/v1/user/edit

Resource Information

Option Description
Response formats JSON
Requires authentication YES
Rate limited YES

Parameters

Name Details
name
  • REQUIRED
  • string
username
  • REQUIRED
  • string
password
  • REQUIRED
  • string
email
  • REQUIRED
  • email
groups
  • OPTIONAL
  • comma separated integer string*

If the groups list is missing, null or out of bounds, it will default to group ids array(1,2).

Example Request

POST https://yourdomain.com/api/v1/user/edit ?name=First Last &username=firstlast &password=randompassword

Example Result

JSON Response

{
  "id": 344,
  "error": false,
  "status": 200
}

Response Headers

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