> ## 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.update_team_role

Update details of a team role.

## Signature

```python theme={null}
VastAI.update_team_role(id: int, name: Optional[str] = None, permissions: Optional[str] = None) -> str
```

## Parameters

<ParamField path="id" type="int" required>
  id
</ParamField>

<ParamField path="name" type="Optional[str]">
  name
</ParamField>

<ParamField path="permissions" type="Optional[str]">
  permissions
</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.update_team_role(id=12345)
print(result)
```
