Skip to main content
POST
/
payroll#removeUsersFromRegularPayPeriod
removeUsersFromRegularPayPeriod
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#removeUsersFromRegularPayPeriod' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '"{\r\n    \"method\": \"removeUsersFromRegularPayPeriod\",\r\n    \"companyId\": \"C8D57032-BF6F-4510-AA41-08A358365531\",\r\n    \"payPeriodId\": \"81A0AE81-F817-4012-B058-46B2C0B9B72C\",\r\n    \"payrollLineItems\": [\r\n        {\r\n            \"userId\": \"BEC0E358-C9F5-4FEA-AED3-6A25C205F599\",\r\n            \"reason\": \"\" // optional\r\n        }\r\n    ]\r\n}"'
{
  "payrollLineItems": [
    {
      "userId": "BEC0E358-C9F5-4FEA-AED3-6A25C205F599",
      "status": "Removed",
      "message": "The PayrollLineItem for Brendon Mcln has been removed successfully."
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
companyId
string
required
payPeriodId
string
required
payrollLineItems
object[]
required

Response

payrollLineItems
object[]
required
I