<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKFetchRecordZonesOperation/recordZoneIDs",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKFetchRecordZonesOperation(py)recordZoneIDs"
  },
  "title" : "recordZoneIDs"
}
-->

# recordZoneIDs

The IDs of the record zones to retrieve.

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

## 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()`](/documentation/CloudKit/CKFetchRecordZonesOperation/fetchAllRecordZonesOperation()) returns, CloudKit ignores the contents of this property and sets its value to `nil`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)