---
title: "alpacon server token"
description: "Manage server registration tokens used by Alpamon to self-register servers. Create, list, and delete tokens with group assignments and expiry options."
---

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

# alpacon server token

Create, list, and delete server registration tokens.

## Usage

`alpacon server token [flags]`

`alpacon server token [command]`

## Key facts

- Registration tokens let Alpamon register servers in your workspace.
- Use `create`, `ls`, or `delete` for the token's lifecycle.
- Run `alpacon server token --help` to see available subcommands.

## Flags

| Flag | Type | Description | Default |
| --- | --- | --- | --- |
| `-h, --help` | `bool` | Show command help. | `false` |
| `--output` | `string` | Output format: `table` or `json`. Inherited by all commands. | `table` |

## Examples

Run the command

```bash
alpacon server token ls
```

Use a separate registration token for each installation batch. Limit its groups, set an expiry, and delete it when it is no longer needed.

## Related commands

  
    Create a new server registration token
  
  
    List all server registration tokens
  
  
    Delete a server registration token by name

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