Skip to main content
PUT
Write a file
Write bytes to a sandbox path.

Endpoint

Example Request

Response

Tensorlake returns 204 No Content when the write succeeds. Parent directories are created automatically if needed. Paths containing .. are rejected with 403 Forbidden.

Authorizations

Authorization
string
header
required

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

Query Parameters

path
string
required

Absolute or relative file path inside the sandbox.

Body

application/octet-stream

The body is of type file.

Response

File written successfully