---
title: recordZoneWithIDWasPurgedBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwaspurgedblock
---

# recordZoneWithIDWasPurgedBlock

The closure to execute when CloudKit purges a record zone.

## Declaration

```swift
var recordZoneWithIDWasPurgedBlock: ((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)
- [recordZoneWithIDWasDeletedBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwasdeletedblock.md)
- [recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwasdeletedduetouserencrypteddataresetblock.md)
- [changeTokenUpdatedBlock](cloudkit/ckfetchdatabasechangesoperation/changetokenupdatedblock.md)
- [fetchDatabaseChangesCompletionBlock](cloudkit/ckfetchdatabasechangesoperation/fetchdatabasechangescompletionblock.md)
