Skip to content

feat: add Organization Member, Role, and Invitation management#13

Merged
developerkunal merged 7 commits into
mainfrom
fern-bot/2026-06-15T09-36-01Z
Jun 16, 2026
Merged

feat: add Organization Member, Role, and Invitation management#13
developerkunal merged 7 commits into
mainfrom
fern-bot/2026-06-15T09-36-01Z

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Changes

SDK regeneration from the Auth0 OpenAPI spec via Fern. Adds Member
Management to the My Organization API - organization members, member
role assignment, member invitations, bulk membership deletion, and
organization roles. This is the final beta before the stable 1.0.0
release, so the type renames below are landed now, ahead of the
compatibility commitment.

🆕 New endpoints / types:

  • Members - client.organization.members.list() and .get(user_id) (GET members, GET members/{user_id}), with ListOrganizationMembersResponseContent and OrgMemberId
  • Member Roles - client.organization.members.roles.list/assign/unassign (GET/POST/DELETE members/{user_id}/roles), with GetOrganizationMemberRolesResponseContent and OrganizationMemberRolesChangeRequestContent
  • Member Invitations - client.organization.invitations.list/create/get/delete (GET/POST member-invitations, GET/DELETE member-invitations/{id}), with CreateMemberInvitationInvitee, CreateMemberInvitationResponseContent, and ListMembersInvitationsResponseContent
  • Memberships - client.organization.memberships.delete_memberships() (POST delete-memberships)
  • Organization Roles - client.organization.roles.list() (GET roles), with Role, RoleId, and ListRolesResponseContent

✏️ Modified types:

  • phone_number added to OrgMember

Renamed / removed (beta):

  • Renamed OrgMemberRole -> Role and OrgMemberRoleId -> RoleId; OrgMember.roles and MemberInvitation.roles now use the renamed types. These were exported type names with no shipped endpoint behind them.
  • Removed delete:my_org:members and update:my_org:member_roles from the OAuthScope enum.

Chores / CI

  • Dropped Python 3.9 (minimum is now 3.10). The unpinned poetry install in CI fails on 3.9 because a current poetry dependency uses dataclass(slots=...), which only exists on 3.10+.
  • Bumped dev dependencies: mypy, requests, types-requests, types-python-dateutil, pytest-xdist.

@fern-api fern-api Bot requested a review from a team as a code owner June 15, 2026 09:36
@kishore7snehil kishore7snehil changed the title 🌿 Fern Regeneration -- June 15, 2026 feat: add Organization Member, Role, and Invitation management Jun 16, 2026
fern-api Bot and others added 4 commits June 16, 2026 18:55
Removes Python 3.9 from the test matrix, package classifiers, and the
publish workflow, raising the minimum to 3.10. The unpinned poetry install
in CI fails on 3.9 because a current poetry dependency uses
dataclass(slots=...), which only exists on 3.10+. This aligns with
auth0-python, which already moved its matrix to 3.10-3.13.

Also rolls in the pending Dependabot dev-dependency bumps (mypy,
requests, types-requests, types-python-dateutil, pytest-xdist) via an
updated lock file.
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
@developerkunal developerkunal force-pushed the fern-bot/2026-06-15T09-36-01Z branch from 7b5ab99 to 1c0ed7f Compare June 16, 2026 13:25
@developerkunal developerkunal force-pushed the fern-bot/2026-06-15T09-36-01Z branch from db83557 to aba015e Compare June 16, 2026 13:44
@developerkunal developerkunal merged commit 6049961 into main Jun 16, 2026
5 checks passed
@kishore7snehil kishore7snehil mentioned this pull request Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants