> ## 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.

# MoveFileInput

> Input object in the GraphQL API.

| Field | Type | Required | Description |
| - | - | - | - |
| `sourcePath` | [`String!`](/docs/cloud/graphql/types/string) | Yes | |
| `destinationPath` | [`String!`](/docs/cloud/graphql/types/string) | Yes | |
| `expectedVersionId` | [`String`](/docs/cloud/graphql/types/string) | No | Optional optimistic-concurrency guard: the move is rejected before any mutation when the source file's current version no longer matches. |
| `ref` | [`String`](/docs/cloud/graphql/types/string) | No | Canonical content selector: main, branch:\<name-or-id>, release:\<version> or env:\<name>. An unresolvable reference is rejected; it never falls back to main. A release or environment is read-only, so a write addressed to one is refused rather than applied elsewhere. |
| `branchId` | [`String`](/docs/cloud/graphql/types/string) | No | Legacy alias for ref=branch:\<value>. Supplying both is accepted when they name the same content and rejected when they do not. |

[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.