cURL
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" }'
{}
Write file contents to the machine.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object
Was this page helpful?