SiYuan icon

SiYuan

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

Database → Remove Column

AI-generated

Summary

Remove a column from an existing SiYuan database identified by its AttributeView ID and the column's key ID.

Inputs

  • AV ID (required) — The AttributeView ID (data-av-ID attribute) of the database block where the column resides.
  • Column (Key) ID (required) — The ID of the column (key) to remove from the database.

Output shape

An object containing at least the AV ID and the removed column's key ID, indicating success of the column removal operation.

This operation returns a minimal confirmation object with the AV ID and removed key ID. It throws an error if the specified column or database does not exist.

Links

Discussion