GET
/
reports#getDeactivatedUsers
curl --request GET \
  --url 'https://sandbox.rollfi.xyz/reports#getDeactivatedUsers' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "getDeactivatedUsers",
  "companyId": "1b66dd5f-989e-4073-85af-9de16e0fb342",
  "workerType": "W2"
}'
{
  "user": [
    {
      "user": "pat cummins",
      "userId": "609A13E9-CDC4-45A5-8407-B58500A244FE",
      "companyId": "1B66DD5F-989E-4073-85AF-9DE16E0FB342",
      "status": {
        "userStatus": "Deactivate"
      },
      "firstName": "pat",
      "lastName": "cummins",
      "middleName": null,
      "personalEmail": "vjhj@mail.com",
      "phoneNumber": "7485963202",
      "kycStatus": "passed",
      "jobTitle": "QA",
      "dateOfJoin": "2023-08-01",
      "email": "pat999@mailsac.com",
      "userWages": [
        {
          "userWorkerType": {
            "workerType": "W2"
          }
        }
      ],
      "userAddress": {
        "address1": "777 Alameda Street",
        "address2": null,
        "city": "Los Angeles",
        "state": "CA",
        "zipcode": "90021",
        "country": "US"
      }
    }
  ]
}

Body

application/json

Response

200 - application/json

The response is of type object.