SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

Database → Remove Row

AI-generated

Overview

This node operation removes a specific row from a SiYuan database (AttributeView block) identified by the AttributeView ID and the Row ID. It is useful for workflows that need to delete data entries from a SiYuan database programmatically, such as cleaning up outdated or incorrect records.

Use Case Examples

  1. Deleting a user record from a customer database in SiYuan by specifying the database's AV ID and the row ID of the user.
  2. Removing a task entry from a project management database in SiYuan when the task is completed or canceled.

Properties

Name Meaning
AV ID The AttributeView ID of the database block, used to identify which database to operate on.
Row ID The ID of the row to be removed from the database.

Output

JSON

  • success - Indicates whether the row removal operation was successful.

Dependencies

  • Requires SiYuan API URL and API Token credentials for authentication.

Troubleshooting

  • Ensure the AV ID and Row ID are correct and exist in the SiYuan database to avoid errors.
  • Verify that the SiYuan API URL and Token credentials are properly configured and valid.
  • Common error messages include missing credentials or unsupported resource errors, which can be resolved by providing the correct API credentials and selecting supported resources and operations.

Links

Discussion