Delete site files
files_deleteDeletes files and folders from the site file manager. Cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Clean path without edge slashes, passed as a parameter (never as a URL suffix). Empty string is the site root; content_get, content_put and mkdir need a non-empty path. Allowed bytes are A-Z a-z 0-9 . _ / -; segments cannot be empty, ".", "..", or start with a dot. Folder for list, info, upload, upload_url and move; file for content_get and content_put; new folder for mkdir; source for rename, move and delete. | |
| paths | No | move: sources to move; a non-empty list ignores path and always returns results per item. delete: targets, together with path. Items are clean paths. | |
| action | Yes | Operation to run. Each oneOf entry describes one action and lists its parameters. | |
| confirm | Yes | Pass true only after the user approves this change. Required by: delete. |