---
title: "UpdateElementVersionFileBody"
description: "Request body for an ElementVersion operation."
section: "Reference"
group: "Types"
order: 77
---

## Definition

```ts
interface UpdateElementVersionFileBody {
  path: string;
  content: string;
}
```

## Fields

| Field     | Type     | Notes                                                                                  |
| --------- | -------- | -------------------------------------------------------------------------------------- |
| `path`    | `string` | `required` — File path relative to the element source root (e.g. `src/Component.tsx`). |
| `content` | `string` | `required` — New file content.                                                         |
