Delete note
bm_deleteDelete a Basic Memory note or directory; directory deletion requires recursive=true, and expected_checksum prevents deleting a note that changed since read.
Instructions
Delete a Basic Memory note (identifier) or a directory (path). A directory delete removes every file under it and needs recursive=true. Pass expected_checksum (from bm_read) to delete a note only if it is still the revision you read. A note that does not exist is an error. This cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The directory to delete, with everything in it. | |
| project | No | Project name, 'workspace/project', or project external id. Omit to use the default project. | |
| recursive | No | Required true to delete a directory and everything under it. | |
| identifier | No | The note to delete: a path, permalink, memory:// URL or exact title. | |
| output_format | No | text | |
| expected_checksum | No | Delete the note only while it is still this revision (from bm_read). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |