Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Asset → Remove File
AI-generatedSummary
Delete a file or directory from the SiYuan workspace at the specified path.
Inputs
- File Path (required) — The path of the file within the SiYuan workspace to be removed. Must start with a slash (e.g.,
/data/assets/image.png).
Output shape
no body — success/failure only
Returns null upon successful deletion. Throws an error if the file path does not exist or the operation fails.