Devbox File Tools
Write text file contents to Devbox filesystem.
Write UTF-8 string contents to a file at path on the Devbox. Note for large files (larger than 100MB), the upload_file endpoint must be used.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Devbox ID.
Body
application/json
The UTF-8 string contents to write to the file.
The path to write the file to on the Devbox. Path is relative to user home directory.