---
title: recordZoneWithIDWasDeletedBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwasdeletedblock
---

# recordZoneWithIDWasDeletedBlock

The closure to execute when a record zone no longer exists.

## Declaration

```swift
var recordZoneWithIDWasDeletedBlock: ((CKRecordZone.ID) -> Void)? { get set }
```

## Discussion

Discussion The closure returns no value and takes the following parameter:

## See Also

### Processing the Operation’s Results

- [recordZoneWithIDChangedBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidchangedblock.md)
- [recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwasdeletedduetouserencrypteddataresetblock.md)
- [recordZoneWithIDWasPurgedBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwaspurgedblock.md)
- [changeTokenUpdatedBlock](cloudkit/ckfetchdatabasechangesoperation/changetokenupdatedblock.md)
- [fetchDatabaseChangesCompletionBlock](cloudkit/ckfetchdatabasechangesoperation/fetchdatabasechangescompletionblock.md)
