Skip to main content

mr groups remove-tags

Detach one or more Tags from a set of Groups in a single request. Both arguments are comma-separated ID lists: --ids selects the target Groups and --tags selects the Tags to remove. Other tag links on the targeted Groups are left untouched, and removing a tag that was never linked is a no-op (not an error).

Usage

mr groups remove-tags

Examples

Remove tag 5 from three groups

mr groups remove-tags --ids 10,11,12 --tags 5

Remove multiple tags from one group

mr groups remove-tags --ids 10 --tags 5,6,7

Flags

FlagTypeDefaultDescription
--idsstring``Comma-separated group 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)

Output

Status object with ok (bool)

Exit Codes

0 on success; 1 on any error

See Also