Skip to main content

mr relation-types

Discover RelationTypes. The relation-types group currently exposes only list for paginated, filterable reads. Use relation-type (singular) for create/edit/delete operations on a specific type.

List results power downstream workflows: pipe relation-types list --json into jq to pick an ID by name, then pass it to mr relation create --relation-type-id <id> when linking two groups.

Usage

mr relation-types

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