UpdateElementVersionFileBody

Request body for an ElementVersion operation.

Definition

TypeScript
interface UpdateElementVersionFileBody {
  path: string;
  content: string;
}

Fields

FieldTypeNotes
pathstringrequired — File path relative to the element source root (e.g. src/Component.tsx).
contentstringrequired — New file content.