Rename or move a file or directory inside a sandbox.
old_path to new_path inside the
sandbox. Works for both files and directories. If new_path is in a different
directory, this is equivalent to a move.
sbx-<8 chars>."/home/user/draft.py""/home/user/final.py"| Status | Cause |
|---|---|
400 | Invalid request body |
401 | Missing or invalid API key |
404 | Sandbox not found |
502 | envd daemon unreachable |
503 | Sandbox has no VM |