Skip to main content
PUT
Create or update a file or directory

Authorizations

Authorization
string
header
required

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

Path Parameters

path
string
required

File or directory path

Body

application/json

File or directory details

content
string
Example:

"file contents here"

isDirectory
boolean
Example:

false

permissions
string
Example:

"0644"

Response

Success message

message
string
required
Example:

"File created successfully"

path
string
Example:

"/path/to/file"

Last modified on June 16, 2026