Parameters
The absolute path to the file to edit.
A list of operations to apply to the file: replace_block, insert_after, insert_before, delete_block, append_line.
Optional fleet device name or id. When set, edits the file inside that running device’s container instead of the host. The device must be started first. Requires the ‘devices:manage’ scope.
Optional Zo App slug or id. When set, edits the file inside that Zo App’s sandbox instead of the host (the app server is /zo-app/server.ts). Mutually exclusive with ‘device’. Requires the ‘apps:shell’ scope.