Write to a file
POST/plugin-api/file-manager/writeFile
Writes content to a file on the remote host and preserves the existing permissions when the file already exists.
Request
Responses
- 200
- 400
- 403
- 500
File written successfully.
Missing required parameters or SSH connection not established.
Permission denied; needsSudo is set when a sudo password would help.
Failed to write file.