---
title: clientChangeTokenData
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckmodifyrecordsoperation/clientchangetokendata
---

# clientChangeTokenData

A token that tracks local changes to records.

## Declaration

```swift
var clientChangeTokenData: Data? { get set }
```

## Discussion

Discussion The default value is nil. When you modify records from a fetch operation, specify a token using this property to indicate which version of the record you most recently modified. Compare the token you supply to the token in the next record fetch to confirm the server  successfully receives the device’s most recent modify request. 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 Record Operation

- [recordsToSave](cloudkit/ckmodifyrecordsoperation/recordstosave.md)
- [recordIDsToDelete](cloudkit/ckmodifyrecordsoperation/recordidstodelete.md)
- [isAtomic](cloudkit/ckmodifyrecordsoperation/isatomic.md)
- [savePolicy](cloudkit/ckmodifyrecordsoperation/savepolicy.md)
- [CKModifyRecordsOperation.RecordSavePolicy](cloudkit/ckmodifyrecordsoperation/recordsavepolicy.md)
