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-generatedOverview
This node operation removes a file from the SiYuan workspace based on the specified file path. It is useful for managing and cleaning up files within the SiYuan environment, such as deleting outdated or unnecessary assets like images or documents.
Use Case Examples
- Deleting an image file from the workspace to free up storage.
- Removing a document file that is no longer needed in a project.
Properties
| Name | Meaning |
|---|---|
| File Path | The path of the file within the SiYuan workspace to be removed. |
Output
JSON
success- Indicates whether the file removal operation was successful.
Dependencies
- Requires SiYuan API URL and API token credentials for authentication.
Troubleshooting
- Ensure the file path is correct and the file exists in the SiYuan workspace to avoid errors.
- Verify that the API URL and token credentials are correctly set and valid.
- If the node throws an unsupported resource error, confirm that the resource parameter is set to 'asset' and operation to 'removeFile'.