Skip to main content

Function: unshareProjectWithUser()

function unshareProjectWithUser(
  projectId: string,
  userId: string,
): Promise<void>;
Defined in: src/utils/projects.ts Removes a user’s access to a project.

Parameters

projectId

string ID of the project to unshare.

userId

string ID of the user losing access.

Returns

Promise<void> A promise that resolves when the user is unshared.