Skip to main content
PUT
Create or update directory tree

Authorizations

Authorization
string
header
required

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

Path Parameters

path
string
required

Root directory path

Body

application/json

Map of file paths to content

files
object
Example:

Response

Updated directory tree

files
object[]
required
name
string
required
path
string
required
subdirectories
object[]
required

@name Subdirectories

recursive
boolean

Recursive is true when files and subdirectories hold every level below path (tree read with recursive=true). Older APIs ignore that parameter and omit this field, so clients can tell a one-level listing apart.