Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Block → Delete
AI-generatedOverview
This node operation deletes a specific content block within a SiYuan document. It is useful for workflows that need to programmatically remove blocks of content, such as cleaning up outdated information or managing document structure dynamically.
Use Case Examples
- Deleting a block by its unique ID to remove obsolete content from a document.
- Automating document maintenance by removing blocks that meet certain criteria.
Properties
| Name | Meaning |
|---|---|
| Block ID | The unique ID of the block to be deleted. |
Output
JSON
success- Indicates whether the block deletion was successful.
Dependencies
- SiYuan API URL and Token credentials are required for authentication.
Troubleshooting
- Ensure the Block ID is correct and exists in the SiYuan workspace; otherwise, the deletion will fail.
- Verify that the SiYuan API URL and Token credentials are properly set and valid to avoid authentication errors.
- If the node throws an unsupported resource error, confirm that the resource parameter is set to 'block' and the operation to 'delete'.