> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateDraftContentInput

> Input object in the GraphQL API.

| Field | Type | Required | Description |
| - | - | - | - |
| `projectReference` | [`String`](/docs/cloud/graphql/types/string) | No | |
| `projectId` | [`ID`](/docs/cloud/graphql/types/id) | No | Deprecated: Use projectReference. |
| `entityId` | [`ID!`](/docs/cloud/graphql/types/id) | Yes | |
| `entityType` | [`DraftEntityType!`](/docs/cloud/graphql/types/draftentitytype) | Yes | |
| `branchId` | [`ID`](/docs/cloud/graphql/types/id) | No | |
| `body` | [`String!`](/docs/cloud/graphql/types/string) | Yes | |
| `branchReference` | [`String`](/docs/cloud/graphql/types/string) | No | Branch name or UUID; equivalent branchId aliases are accepted, conflicting ones rejected. Omit/null for main. |
| `expectedDraftVersion` | [`Int`](/docs/cloud/graphql/types/int) | No | Expected current draft sequence (0 means no prior draft), not a committed-file version ID. Omit/null for unconditional replacement; stale values are concurrency errors409. |

[All GraphQL types](/docs/cloud/graphql/schema) · [Operations](/docs/cloud/graphql)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.