PUT user/edit/:id

Update existing Joomla user.

Resource URL

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

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).

UPDATE 2017-03-31: This method currently requires administrative access. Therefore, a user cannot use this method on their own account to update their own (or other's) passwords unless they are already an administrator with core.admin capability.

Example Request

POST https://yourdomain.com/api/v1/user/edit/344 ?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