Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Notebook → Remove
AI-generatedSummary
Remove a notebook from SiYuan by its unique ID, permanently deleting the notebook and all its contents.
Inputs
- Notebook ID (required) — The unique ID of the notebook to remove
Output shape
an object indicating success status and whether the notebook was found and removed
The output includes properties: success (true), found (boolean whether the notebook existed), and notebookId (the ID of the notebook removed or attempted to remove). If the notebook ID does not exist, found is false and no removal is performed.
Examples
Example 1: Removing a notebook by ID
Specify a valid notebook ID in the 'Notebook ID' field to permanently delete that notebook from SiYuan.