mr note-block delete
Delete a note block by ID. Destructive: removes the database row.
Deleting a nonexistent ID returns exit code 1 with an HTTP 404 error.
Sibling blocks are untouched, but deleting a text block re-syncs the
parent Note's description to whatever text block now sorts first. To
remove every block on a note, delete the note itself.
Usage
mr note-block delete <id>
Positional arguments:
<id>
Examples
Delete a note block by ID
mr note-block delete 42
Delete
mr note-block delete 42 && mr note-blocks list --note-id 7
Flags
This command has no local flags.
Inherited global flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | false | Output raw JSON |
--no-header | bool | false | Omit table headers |
--page | int | 1 | Page number for list commands (default page size: 50) |
--quiet | bool | false | Only output IDs |
--server | string | http://localhost:8181 | mahresources server URL (env: MAHRESOURCES_URL) |
Exit Codes
0 on success; 1 on any error