---
title: "recordZone(for:)"
framework: cloudkit
role: symbol
role_heading: Instance Method
path: "cloudkit/ckdatabase/recordzone(for:)"
---

# recordZone(for:)

Fetches a specific record zone.

## Declaration

```swift
func recordZone(for zoneID: CKRecordZone.ID) async throws -> CKRecordZone
```

## Parameters

- `zoneID`: The identifier of the record zone to fetch.

## Return Value

Return Value The fetched record zone.

## Discussion

Discussion This method throws an error if the request fails, such as when the zone does not exist, the network is unavailable or the device doesn’t have an active iCloud account. For information on a more convenient way to fetch specific record zones, see recordZones(for:).
