> ## 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 an existing team role

## Usage

```bash theme={null}
vastai update team-role ID --name NAME --permissions PERMISSIONS
```

## Arguments

<ParamField path="id" type="integer" required>
  id of the role
</ParamField>

## Options

<ParamField path="--name" type="string">
  name of the template
</ParamField>

<ParamField path="--permissions" type="string">
  file path for json encoded permissions, look in the docs for more information
</ParamField>

## Examples

```bash theme={null}
vastai update team-role <ID>
```

## Global Options

The following options are available for all commands:

| Option          | Description                                           |
| --------------- | ----------------------------------------------------- |
| `--url URL`     | Server REST API URL                                   |
| `--retry N`     | Retry limit                                           |
| `--raw`         | Output machine-readable JSON                          |
| `--explain`     | Verbose explanation of API calls                      |
| `--api-key KEY` | API key (defaults to `~/.config/vastai/vast_api_key`) |
