Skip to content

Introduce a capability allowing to change current membershipType for existing organization members #48913

Description

@vramik

Description

Introduce an admin API endpoint to change a user's organization membership type (MANAGED <-> UNMANAGED) without removing the user. Today there is no way to change membership type after it is set.

PUT /admin/realms/{realm}/organizations/{orgId}/members/{memberId}/membership-type

Discuss and decide whether to reject setting MANAGED if the user was not onboarded via an IdP with auto-membership=true and membership_type=MANAGED for this org or allow to change it unconditionally?

Activity

  1. added this to the 26.7.0 milestone on May 12, 2026
  2. added theissue type on May 12, 2026
  3. self-assigned this
    on May 12, 2026
  4. olivierboudet commented on May 26, 2026

    @olivierboudet
    Contributor

    Thanks for opening this, I actually need this feature today 😆

    In the meantime, could you confirm whether changing the MEMBERSHIP_TYPE column in USER_GROUP_MEMBERSHIP from MANAGED to UNMANAGED would be safe and won’t break anything?

    Thanks a lot!

  5. vramik commented on Jun 10, 2026

    @vramik
    ContributorAuthor

    In the meantime, could you confirm whether changing the MEMBERSHIP_TYPE column in USER_GROUP_MEMBERSHIP from MANAGED to UNMANAGED would be safe and won’t break anything?

    It should be fine

  6. modified the milestones: 26.7.0, 26.8.0 on Jun 17, 2026
  7. added a commit that references this issue on Sep 9, 2026
    2c0fd93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

No fields configured for task.

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions