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

# VastAI.invite_member

Invite a team member to your current team.

## Signature

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

## Parameters

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

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

## Returns

`str`, Result from the API call.

## Example

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

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