PUT/browsers/{id}/fs/write_file

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Browser session ID

Query Parameters

path*string

Destination absolute file path.

Match^/.*
mode?string

Optional file mode (octal string, e.g. 644). Defaults to 644.

Match^[0-7]{3,4}$

Request Body

application/octet-stream

TypeScript Definitions

Use the request body type in TypeScript.

body*file
Formatbinary

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/browsers/string/fs/write_file?path=string" \  -H "Content-Type: application/octet-stream" \  -d 'string'
Empty