PUT
/
adminPortal#updateUser
curl --request PUT \
  --url 'https://sandbox.rollfi.xyz/adminPortal#updateUser' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "updateUser",
  "user": {
    "userId": "673F4A1C-ABD9-4E20-A235-66ED7CA71E8D",
    "firstName": "John",
    "lastName": "Steve",
    "phoneNumber": "9889890989",
    "dateOfJoin": "2000-01-01",
    "workerType": "W2",
    "jobTitle": "Manager",
    "companyLocationCategory": "Remote",
    "code": "FL"
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "user": {
        "userId": "673F4A1C-ABD9-4E20-A235-66ED7CA71E8D",
        "status": "Ready",
        "message": "The User's data has been updated successfully."
      }
    }
  }
}

Body

application/json
method
string
default: updateUserrequired
user
object
required

Response

200 - application/json
user
object
required