cURL
curl --request PUT \ --url 'https://sandbox.rollfi.xyz/adminPortal#updateUser' \ --header 'Authorization: Basic <encoded-value>' \ --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", "stateCode": "FL", "companyLocationId": "" } }'
{ "user": { "userId": "673F4A1C-ABD9-4E20-A235-66ED7CA71E8D", "status": "Ready", "message": "The User's data has been updated successfully." } }
This endpoint is used to update the required employee information
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The response is of type object.
object