-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce user method to leave an organization #1809
Introduce user method to leave an organization #1809
Conversation
Introduce a new leaveOrganization() method on the User resource, which you can use in order to leave an organization as a user.
…rofile /> when leaving an org We replace the usage of the old 'organization.removeMember()' method with the new one we recently introduced, in the <OrgProfile /> component when a user chooses to leave the current organization
🦋 Changeset detectedLatest commit: f91e3d6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@chanioxaris will the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
No we will keep both as are needed
|
really hard to understand what id should be used in the params |
Description
We introduce a new
leaveOrganization()
method on the User resource, which you can use in order to leave an organization as a user. We also replace the usage of theorganization.removeMember()
method with the new one we introduced in the component when a user chooses to leave the current organizationChecklist
npm test
runs as expected.npm run build
runs as expected.Type of change
Packages affected
@clerk/clerk-js
@clerk/clerk-react
@clerk/nextjs
@clerk/remix
@clerk/types
@clerk/themes
@clerk/localizations
@clerk/clerk-expo
@clerk/backend
@clerk/clerk-sdk-node
@clerk/shared
@clerk/fastify
@clerk/chrome-extension
gatsby-plugin-clerk
build/tooling/chore