How to: Update a User

For information about prerequisites, see Creating Users.

The Update User call has the same required request body members as a Create User call and replaces the resource at the server.YY

To update information associated with a User:

  1. Retrieve the User ID of the User. See How to: Find the User ID of a User.
  2. Call the Update User endpoint, use the User ID in the {UserID} path parameter and pass a request body similar to the following:
{
    "firstName": "kashish",
    "lastName": "lala",
    "designation": "Field Executive", 
    "category": "Regular",
    "email": "[email protected]",
    "primaryMobile": {
        "countryCode": "+91",
        "number": "9999999999"
    },
    "employmentType": "Full-time"
}