Delete time-off record
\<font color="#3b9f0f">post\</font> /api/delete ee time off deletes an existing time off record for one staff, using the time off record id the time off record will be marked as deleted request \<font color="#00a2e9">body parameters\</font> ee time off id \<font color="#a7b4c3">integer required\</font> the unique marco identifier for the time off record customer id \<font color="#a7b4c3">integer \</font> \<font color="#a7b4c3">required\</font> the staff's unique identifier in your company's system example 50 example requests curl x post 'https //api marcopayroll com/api\ benkock8/api/delete ee time off' \\ h 'content type application/json' \\ h 'authorization $auth token' \\ d '{ "ee time off id" "1111" "customer id" "99", }'import requests url = "https //api marcopayroll com/api\ benkock8/api/delete ee time off" payload={ "ee time off id" "1111" "customer id" "99", } headers = { "accept" "application/json", "authorization" "your auth token" } response = requests post(url, headers=headers, data=payload) print(response text){ "message" "delete successfully" } response message \<font color="#a7b4c3">string\</font> the endpoint response status valid values delete successfully, please confirm the ee time off id, permission denied