In this example, we will review how delete holidays.
Use case data
API parameters with values
We will delete the holiday ID-4506 that was previously created.
...api/v1/holidays/ID-4506/invalidate
The dependent update is set to true when the 4-eye process is required for holidays. If the 4-eye process is disabled, the dependent update is set to false.
You can only delete holidays with a future date. When a holiday is deleted, the holiday record remains in the system with its status updated to deleted.
Sample API call
To delete existing holidays, call the following endpoint: