POST
/
v1
/
computer
/
{machine_id}
/
fs
/
write
Write file contents
curl --request POST \
  --url https://api.cyberdesk.io/v1/computer/{machine_id}/fs/write \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "path": "<string>",
  "content": "<string>",
  "mode": "write"
}'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

machine_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.