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]
FlagDescription
--projectProject name, identifier, or ID — falls back to the default project of the active profile
--limitMaximum number of results
--offsetResult offset for pagination
-o, --outputOutput format: table, json, csv
Terminal window
redmine memberships get <id> [flags]

Aliases: show, view.

FlagDescription
-o, --outputOutput format
Terminal window
redmine memberships create [flags]

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

FlagDescription
--projectProject name, identifier, or ID — falls back to the default project of the active profile
--user-idUser ID to add
--group-idGroup ID to add
--role-idsComma-separated role IDs
--rolesComma-separated role names or IDs — required when --role-ids is omitted
-o, --outputOutput format
Terminal window
redmine memberships update <id> [flags]

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

FlagDescription
--role-idsComma-separated role IDs
--rolesComma-separated role names or IDs — required when --role-ids is omitted
destructive
Terminal window
redmine memberships delete <id> [flags]
FlagDescription
-f, --forceSkip confirmation prompt