viya_files_delete
Deletes one file or empty folder on SAS Viya after confirmation, with version and protected-folder checks; non-empty folders return not_empty.
Instructions
Delete one file, or one empty folder, on SAS Viya ("content" or "server"); the app confirms first.
Same checks as viya_files_rename (version / If-Match, protected folders); a folder that isn't empty answers
``not_empty``. SQL Editor tabs that had the file open keep its text as unsaved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| location | Yes | ||
| expected_modified | No |