---
title: "initWithExcludedZoneIDs:"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/cksyncenginesendchangesscope/initwithexcludedzoneids:"
---

# initWithExcludedZoneIDs:

Creates a scope that contains all zones except for the given zone IDs.

## Declaration

```occ
- (instancetype) initWithExcludedZoneIDs:(NSSet<CKRecordZoneID *> *) excludedZoneIDs;
```
