---
title: "clearHolidaySchedule(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterdoorlock/clearholidayschedule(with:expectedvalues:expectedvalueinterval:completion:)"
---

# clearHolidaySchedule(with:expectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func clearHolidaySchedule(with params: MTRDoorLockClusterClearHolidayScheduleParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func clearHolidaySchedule(with params: MTRDoorLockClusterClearHolidayScheduleParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
