Write content to a file
Authorizations
API key passed as Bearer token
Path Parameters
Machine ID (e.g. mch_a1b2c3d4)
Body
Destination file path. Absolute paths may target valid machine locations such as /workspace, /data, /tmp, or /context where present. Relative paths resolve from the machine cwd when set, otherwise from the selected user's home when user is provided, otherwise from /workspace.
utf8, base64 Optional machine user for relative-path resolution and ownership.
Response
File written
Absolute resolved filesystem path. For machine routes this is an absolute machine path; for volume routes this is an absolute volume-internal path rooted at /.
Entry type (e.g. "file", "directory", "symlink")
"file"
"0644"
"0644"