> ## Documentation Index
> Fetch the complete documentation index at: https://forest-docs-cli-reference-headless-commands.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# forest roles:apply

> Apply a wide-format CSV to update role permissions in an environment

# forest roles:apply

Apply a wide-format CSV to update role permissions in an environment.

## Usage

```bash theme={null}
forest roles:apply [FILE] [options]
```

## Arguments

| Argument | Description                       |
| -------- | --------------------------------- |
| `FILE`   | Path to the wide-format CSV file. |

## Options

| Option                    | Description                              |
| ------------------------- | ---------------------------------------- |
| `-F, --force`             | Skip confirmation prompt.                |
| `-e, --env=<value>`       | (required) Environment name to apply to. |
| `-p, --projectId=<value>` | Forest project ID.                       |
