<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBModifyRecordRequestBody",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/CKDBModifyRecordRequestBody"
  },
  "title" : "CKDBModifyRecordRequestBody"
}
-->

# CKDBModifyRecordRequestBody

An object that represents the request for updating an existing record.

```
dictionary CKDBModifyRecordRequestBody {
	string recordType;
	string? recordChangeTag;
	dictionary fields;
	boolean? createShortGuid;
	CKDBNullableReference? share;
	CKDBNullableReference? parent;
	CKDBForRecord? forRecord;
	CKDBPermissionType? publicPermission;
	CKDBShareParticipant[]? participants;
};
```

## Overview

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBModifyRecordRequestBody } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute boolean? createShortGuid;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/createShortGuid)

A Boolean value that indicates whether to create a short GUID for sharing this record.

[`attribute dictionary fields;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/fields)

The dictionary of key-value pairs whose keys are the record field names and values are field-value dictionaries.

[`attribute CKDBForRecord? forRecord;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/forRecord)

[`attribute CKDBNullableReference? parent;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/parent)

[`attribute CKDBShareParticipant[]? participants;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/participants)

The array of participants in the shared record.

[`attribute CKDBPermissionType? publicPermission;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/publicPermission)

[`attribute string? recordChangeTag;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/recordChangeTag)

A string containing the server change token for the record.

[`attribute string recordType;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/recordType)

The name of the record type.

[`attribute CKDBNullableReference? share;`](/documentation/CKToolJS/CKDBModifyRecordRequestBody/share)

---

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)