Delete public holiday of staff
This endpoint can delete public holiday of a worker. you can get worker assigned public holiday from Time Off -> Get worker's public holidays API.
Delete ee public holidays
POST /delete-ee-public-holiday
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
customer_id
string
The unique Marco identifier for your company
user_id
number
User ID
public_holidays
list of number
List of public holiday id The public holiday is can geu for Data Could -> Get public holiday by country API
Parameter
{
"public_holiday_id": 1000,
"customer_id": 1,
"user_id": 3593
}Response
{"result_1":"Public holiday delete successfully "}{"message":"Unable to find public holiday"}Last updated