Skip to main content

mr notes remove-tags

Remove tag IDs from every Note listed in --ids. Idempotent: removing a tag that isn't attached is a no-op. Both --ids and --tags accept comma-separated unsigned integer lists and are required.

Usage

mr notes remove-tags

Examples

Remove tag 5 from notes 1

mr notes remove-tags --ids 1,2 --tags 5

Remove multiple tags at once

mr notes remove-tags --ids 1,2,3 --tags 5,6

Flags

FlagTypeDefaultDescription
--idsstring``Comma-separated note IDs (required) (required)
--tagsstring``Comma-separated tag IDs (required) (required)

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