removeMember
suspend fun Organization.removeMember(userId: String): ClerkResult<OrganizationMembership, ClerkErrorResponse>
Removes a member from the organization.
Return
A ClerkResult containing the removed OrganizationMembership on success, or a ClerkErrorResponse on failure
Parameters
userId
The unique identifier of the user to remove from the organization