> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# removeProjectUserCollaborator

***

# Function: removeProjectUserCollaborator()

```ts theme={null}
function removeProjectUserCollaborator(
  userId: string,
  projectId: string,
): Promise<void>;
```

Defined in: [src/utils/projects.ts](https://github.com/rungalileo/galileo-js/blob/main/src/utils/projects.ts)

Removes a user collaborator from a project.

## Parameters

### userId

`string`

ID of the collaborator to remove.

### projectId

`string`

ID of the project the collaborator belongs to.

## Returns

`Promise`\<`void`>

A promise that resolves when removal succeeds.
