Skip to main content
PUT
Write a file

Authorizations

Authorization
string
header
required

Agent token (alt_…) or OAuth access token; bound to one agent

Path Parameters

machineId
string
required

Machine id

Body

application/json
path
string
required

Under /home/user or /tmp

Required string length: 1 - 4096
content
string
required

File content (at most 4 MB per write)

Maximum string length: 4000000
encoding
enum<string>
Available options:
utf8,
base64

Response

path, size

path
string
required
size
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991