---
title: "alpacon token"
description: "Manage API tokens, their scopes, and access rules. See the command syntax, available flags, defaults, and examples before running it in your workspace."
---

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

# alpacon token

Manage API tokens, their scopes, and access rules.

## Usage

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

## Key facts

- Use `create`, `ls`, `duplicate`, and `delete` to manage tokens.
- Use `scopes` to see the permissions you can grant.
- New personal API tokens cannot hold command-execution or file-transfer scopes. Existing tokens with those scopes keep working without a work session.

## Flags

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

## Examples

List tokens

```bash
alpacon token ls
```

## Related commands

  
    Manage ACL rules for command, server, and file access
  
  
    Create a new API token
  
  
    Delete a specified API token
  
  
    Duplicate a token and all its ACL rules
  
  
    Display a list of all API tokens
  
  
    List available scopes for API tokens

Source: https://docs.alpacax.com/reference/cli/token/
