Admin Portal
updateUser
API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- POSTaddCompanyBankAccount
- PUTdeactivateCompanyBankAccount
- POSTaddUser
- POSTaddBusinessContractor
- PUTupdateUser
- POSTaddUsers
- POSTaddStateRegistration
- PUTupdateStateRegistration
- POSTaddUserWage
- PUTupdateUserWage
- PUTupdateBusinessUserAsEmployee
- PUTupdateEmployeeAsBusinessUser
- PUTupdateBusinessUser
- PUTupdateCompanyLocation
- POSTactivateUser
- POSTdeactivateUser
- PUTterminateUser
- StateRegistration
- POST
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Admin Portal
updateUser
This endpoint is used to update the required employee information
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",
"companyLocationId": ""
}
}'
{
"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
Maximum length:
40
Maximum length:
40
Maximum length:
40
Maximum length:
10
Available options:
W2
, 1099-NEC
Maximum length:
40
Available options:
Remote
, Office
Available options:
TX
, AK
, ND
, IL
, MA
, KS
, AS
, AL
, UT
, SD
, MI
, DC
, GA
, SC
, TN
, OK
, CO
, CA
, ME
, MO
, WY
, MD
, VT
, NM
, CT
, AZ
, WI
, VA
, WV
, NJ
, DE
, NC
, PR
, IN
, MT
, NH
, HI
, IA
, KY
, WA
, OH
, FL
, OR
, MP
, GU
, MN
, MS
, PA
, NE
, RI
, ID
, LA
, NY
, NV
, AR
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",
"companyLocationId": ""
}
}'
{
"1": {
"summary": "Success",
"value": {
"user": {
"userId": "673F4A1C-ABD9-4E20-A235-66ED7CA71E8D",
"status": "Ready",
"message": "The User's data has been updated successfully."
}
}
}
}