---
title: "alpacon token acl file"
description: "Manage file ACL rules for a token. Use ls to inspect the token's file rules. Check command syntax, flags, and examples before running it in your workspace."
---

> Full documentation index: https://docs.alpacax.com/llms.txt

# alpacon token acl file

Manage file ACL rules for a token.

## Usage

```text
alpacon token acl file [flags]
alpacon token acl file [command]
```

## Key facts

- Use `ls` to inspect the token’s file rules.
- Use `add` or `delete` to change the rules.
- Without a matching rule, file transfers are denied.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | help for file | `false` |
| `--output` | `string` | Output format: table or json | `table` |

## Examples

List file rules

```bash
alpacon token acl file ls my-api-token
```

## Related commands

  
    Add a file ACL rule to a token
  
  
    List file ACL rules for a token
  
  
    Delete a file ACL rule by ID

Source: https://docs.alpacax.com/reference/cli/token/acl-file/
