Delete holiday

Use cases

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.

"dependentUpdatesRequired": "false"

Sample API call

To delete existing holidays, call the following endpoint:

https://holiday-api.sandbox.tuumplatform.com/

Learn more about the delete holiday endpoint in the Tuum developer portal.

Sample request

The sample request body is as follows:

{
  "dependentUpdatesRequired": "false"
}

Sample response

Below you will find the response to the sample request:

Response
{
    "errors": null,
    "validationErrors": null,
    "data": {
        "holidayId": "ID-4505",
        "holidayTypeCode": "BANKHOLIDAY",
        "countryCode": "DE",
        "date": "2027-12-23",
        "statusCode": "DELETED",
        "holidayDeclineReason": null,
        "dependentUpdatesRequired": false
    }
}

Result

As a result, the holiday ID-4505 was marked as deleted.

Last updated

Was this helpful?