Files
cal.diy/packages/features/ee/dsync/lib/removeUserFromOrg.ts
T
1064e1181d feat: SCIM 2.0 Automatic User provisioning (#11169)
Co-authored-by: Alex van Andel <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
Co-authored-by: Joe Au-Yeung <[email protected]>
Co-authored-by: sean-brydon <[email protected]>
Co-authored-by: Udit Takkar <[email protected]>
2024-03-06 16:34:21 -07:00

12 lines
289 B
TypeScript

import removeMember from "@calcom/features/ee/teams/lib/removeMember";
const removeUserFromOrg = async ({ userId, orgId }: { userId: number; orgId: number }) => {
await removeMember({
memberId: userId,
teamId: orgId,
isOrg: true,
});
};
export default removeUserFromOrg;