> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.invite_team_member

Invite a new member to the team.

## Signature

```python theme={null}
VastAI.invite_team_member(
    email: str,
    role: str
) -> dict
```

## Parameters

<ParamField path="email" type="str" required />

<ParamField path="role" type="str" required />

## Returns

`dict`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.invite_team_member(email="value", role="value")
print(result)
```
