---
title: recordZoneIDsToDelete
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckmodifyrecordzonesoperation/recordzoneidstodelete
---

# recordZoneIDsToDelete

The IDs of the record zones to delete permanently from the database.

## Declaration

```swift
var recordZoneIDsToDelete: [CKRecordZone.ID]? { get set }
```

## Discussion

Discussion The initial value of the property is the array of zone IDs that you provide to the init(recordZonesToSave:recordZoneIDsToDelete:) method. You can modify this array as necessary before you execute the operation. The record zones must all target the same database. You can specify nil, or an empty array, for this property. If you intend to change the value of this property, do so before you execute the operation or submit the operation to a queue.

## See Also

### Configuring the Modify Zones Operation

- [recordZonesToSave](cloudkit/ckmodifyrecordzonesoperation/recordzonestosave.md)
