Skip to main content

mr note-type delete

Delete a note type by ID. Destructive: removes the note type row. Notes that referenced it keep their rows but lose the typed schema link, so use with care on instances where Notes depend on the type's MetaSchema for rendering. Deleting a nonexistent ID is a no-op on the server but still returns success.

Usage

mr note-type delete <id>

Positional arguments:

  • <id>

Examples

Delete a note type by ID

mr note-type delete 42

Delete and pipe the result to jq to confirm the response shape

mr note-type delete 42 --json | jq .

Flags

This command has no local flags.

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Exit Codes

0 on success; 1 on any error

See Also