Skip to main content
POST
Disable an employee benefit limit

Overview

This endpoint disables an employee’s limit for a benefit for a given payroll period and, optionally, a specific list of employees. While the limit is disabled, the affected employee cannot use that benefit during the selected payroll period.
  • All employees: If the employees array is omitted or empty, the limit is disabled for all employees in the company for the given period.
  • Specific employees: If you provide a list of employee IDs (up to 1,000), only those employees’ limits are affected.
  • Supported benefits: meal, transport, nursery; disabling a limit prevents use of that benefit.
  • Period format: YYYY-MM (e.g. 2026-05).

Synchronous Response

The operation is performed synchronously. The response is a flat aggregated report with total, processed, skipped and failed counts, plus a detailed errors list with the employeeId and reason for any employee that could not be processed. A partially completed request (some employees succeeded, others failed) still returns 200 OK.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

companyId
string<uuid>
required

The company identifier

Body

application/json
benefit
enum<string>
required

The benefit whose employee limit should be disabled. While disabled, the employee cannot use that benefit.

Available options:
meal,
transport,
nursery
period
string
required

The payroll period to disable the benefit limit for, in YYYY-MM format.

Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])$
Example:

"2026-05"

employees
string<uuid>[]

List of employee IDs whose benefit limits should be disabled (maximum 1,000). If omitted or empty, the limit is disabled for all employees in the company.

Maximum array length: 1000

Response

Benefit limit disabled successfully

total
integer

Total number of employees the request applied to.

processed
integer

Number of employees successfully processed.

skipped
integer

Number of employees skipped.

failed
integer

Number of employees that failed to process.

errors
object[]

List of errors for employees that failed to process. Empty if all succeeded.