update_membership
Change a project member's assigned roles by replacing current roles with specified IDs or names; preview validation first, then confirm to apply.
Instructions
Update a project membership's roles.
The preview is validated by OpenProject; problems come back in validation_errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | Yes | Replaces all current roles; role ids or exact role names (case-insensitive), from list_roles. | |
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| membership_id | Yes | Membership id, from list_project_memberships. | |
| notification_message | No | Markdown text for OpenProject's membership notification. |