# FileWrite

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `content` (string, required): File bytes encoded in base64, with the decoded size limited by files.upload_limit_mb.
- `path` (HomePath, required): A path within the customer's home directory, with / representing the home directory itself. The path cannot contain .. components or control characters.
- `create_only` (boolean): Whether to create a new file only. When true, an existing file at path results in 409.

## Used by

- [PUT /files/{user}/content](https://urbestack.com/docs/api/put-files-user-content.md): Write the entire contents of a file
