Actions38
- 📝 文章 (Article) Actions
- 📂 文章分类 (Category) Actions
- 🏷️ 文章标签 (Tag) Actions
- 📄 页面 (Page) Actions
- 💬 说说 (Moment) Actions
- 💭 评论 (Comment) Actions
- 🖼️ 相册 (Album) Actions
- 📁 相册分类 (Album Category) Actions
- 📎 文件管理 (File) Actions
- 🔗 直链 (Direct Link) Actions
- 🔗 友情链接 (Link) Actions
- 🔍 全站搜索 (Search) Actions
- 🌐 公共接口 (Public) Actions
📎 文件管理 (File) → 🗑️ 删除 (Delete)
AI-generatedSummary
Delete one or multiple files or folders on the SunLink platform by specifying their IDs.
Inputs
- fileId (required) — ID of the single file or folder to delete (used for get, download, and delete operations but not exclusively for delete).
- deleteIds (required) — Comma-separated list of file or folder IDs to delete.
Output shape
A single JSON object containing the server response to the delete request.
The output returns the API's deletion response for the specified IDs. Multiple IDs must be comma-separated in the 'deleteIds' parameter. The 'fileId' parameter is required for get, download, and delete contexts but deletion uses 'deleteIds' for actual IDs to remove.
Examples
Example 1: Delete files or folders from SunLink storage
Provide a comma-separated list of file/folder IDs in 'deleteIds'. The operation calls the API endpoint '/files' with HTTP DELETE method and deletes the specified resources.
