Salaries
Delete a salary record
Changed onDeletes a salary record — for example one submitted in error, against the wrong employee, or a duplicate. A deleted record no longer appears in the employee's salary list and is no longer eligible to be their current salary; if it was the current record, the next most recent one takes its place.
delete/employees/{employee_id}/salaries/{salary_id}
Request
- Base URLhttps://test.api.kota.io
- URLhttps://test.api.kota.io/employees/{employee_id}/salaries/{salary_id}
- AuthHTTP bearer
Path parameters
employee_idstring required
Example:ee_3b1333d87d9d4fd6ad83ba7f6b0e951a
salary_idstring required
Example:sal_3b1333d87d9d4fd6ad83ba7f6b0e951a
Response
OK
Example response
{
"id": "sal_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"employee_id": "ee_3b1333d87d9d4fd6ad83ba7f6b0e951a",
"amount": 123.45,
"effective_from": "2024-12-01"
}Changes
- warning
deleted the
headerrequest parameterX-Platform-Id
- warning
- info
endpoint added
- info