deleteOrganizationMembership()
Removes a user from the specified organization.
const organizationId = 'my-organization-id';
const userId = 'my-user-id';
const organization = await clerkClient.organizations.deleteOrganizationMembership({organizationId, userId});
- Name
organizationId
- Type
string
- Description
The ID of the organization the user will be removed from.
- Name
userId
- Type
string
- Description
The user ID to remove from the organization.
Feedback
Last updated on