Skip to content

Memberships

The memberships command (alias m) manages project memberships — the mapping between users/groups and project roles.

Terminal window
redmine memberships list --project <identifier> [flags]
Flag Description
--project Project name, identifier, or ID — falls back to the default project of the active profile
--limit Maximum number of results
--offset Result offset for pagination
-o, --output Output format: table, json, csv
Terminal window
redmine memberships get <id> [flags]

Aliases: show, view.

Flag Description
-o, --output Output format
Terminal window
redmine memberships create [flags]

Adds a user or group to a project with the specified roles.

Flag Description
--project Project name, identifier, or ID — falls back to the default project of the active profile
--user-id User ID to add
--group-id Group ID to add
--role-ids Comma-separated role IDs
--roles Comma-separated role names or IDs — required when --role-ids is omitted
-o, --output Output format
Terminal window
redmine memberships update <id> [flags]

Only the assigned roles can be changed on an existing membership.

Flag Description
--role-ids Comma-separated role IDs
--roles Comma-separated role names or IDs — required when --role-ids is omitted
destructive
Terminal window
redmine memberships delete <id> [flags]
Flag Description
-f, --force Skip confirmation prompt