Skip to main content
PUT
Write File

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

Query Parameters

path
string
required

Path to the file to write

workingDir
string
required

Working directory for resolving relative paths

mode
string

File permissions in octal (e.g., '0644')

mkdir
boolean

Create parent directories if they don't exist

Body

application/octet-stream

Raw file bytes to write.

The body is of type file.

Maximum string length: 16777216

Response

Success

mode
string
required
path
string
required
size
integer
required