Update Users

Function name

update-users

Parameters

  • data (Required). It is an array of fields. The details of the fields are as follows :

id (Required). Number. The ID of the user to be updates
name
(Optional) String. Either the first, last name or both must be present.
login (Optional). String. Login name of the user. If login is present, the user will be counted towards your license count.
password (Optional). String. Password of the user.
email (Optional). String. Email of the user. For users with login, email is mandatory.

When your data format is XML, you should post something like this: 

<data>
    <item>
      <id>768709</id>
      <name>Joe Cole</name>
      <login>joe.cole</login>
      <password>kaboom1</password>
      <email>joe.cole@celoxis.com</email>
      <client_ref_no>AIQ_87</client_ref_no>             <!-- Custom field attached to User> 
     </item>
    <item>
       <id>7687087</id>
      <name>Mary Jane</name>
    </item>
</data>

 

In case of JSON, you should submit an array of objects with the same properties.

[
  {
    "id":"223232",
    "name":"Joe Cole",
    "login":"joe.cole",
    "password":"kaboom1",
    "email":"joe.cole@celoxis.com",
    "client_ref_no":"AIQ_87"       <!-- Custom field attached to User> 
  }
  {
    "id":"98798",
    "name":"Mary Jane",
    "login":"mary.jane",
    ...
 }
]