---
title: recordZoneIDs
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchrecordzonesoperation/recordzoneids
---

# recordZoneIDs

The IDs of the record zones to retrieve.

## Declaration

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

## Discussion

Discussion Use this property to view or change the IDs of the record zones you want to retrieve. If you intend to change the value of this property, do so before you execute the operation or submit the operation to a queue. If you use the operation that fetchAllRecordZonesOperation() returns, CloudKit ignores the contents of this property and sets its value to nil.
