auth.api.removeTeamMember returns success but doesn't delete database records

The removeTeamMember API consistently returns { message: 'Team member removed successfully.' } but fails to actually delete the team membership record from the database. Direct Prisma queries confirm the record remains unchanged after the API call. This occurs with proper organization context and permissions, while addTeamMember works correctly on the same data.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?