> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# homelab api pairing-tokens

> Generierte Referenz für die Befehle unter homelab api pairing-tokens

> [!NOTE]
>
> Generiert aus dem Homelab-Release v0.32.8 (Quelle `4c7d219a5d56`). Für eine installierte Version ist `homelab api <command> --help` maßgeblich.

## homelab api pairing-tokens create

Pairing-Token für die Worker-Registrierung erstellen.

```bash theme={null}
homelab api pairing-tokens create [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/trust/pairing-tokens` |
| Ändert Zustand | Ja |
| MCP-Tool | `create_pairing_token` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `--environment-class` | string | Ausdrückliche Angabe des Owners zur Platzierung; weglassen, wenn unbekannt. Mögliche Werte: `local`, `cloud`. |
| `--name` | string | — |
| `--server-provisioning-mode` | string | Mögliche Werte: `install-command`, `connect-remote`. |
| `--stack-id` | string | — |
| `--body` | json | JSON-Request-Body (`application/json`) als Literal, `@path` oder `-` für stdin. |

## homelab api pairing-tokens delete

Pairing-Token löschen.

```bash theme={null}
homelab api pairing-tokens delete <id> [flags]
```

> [!WARNING]
>
> Erfordert Bestätigung: Diese Operation widerruft das Pairing-Token; Geräte, die sich noch nicht gekoppelt haben, können es nicht mehr verwenden. Übergib `--yes` oder beantworte die Rückfrage; ein nicht interaktiver Lauf ohne `--yes` stoppt vor jeder Anfrage mit Exit-Code 9.

| | |
| - | - |
| HTTP | `DELETE /api/v1/trust/pairing-tokens/{id}` |
| Ändert Zustand | Ja |
| MCP-Tool | `delete_pairing_token` |

| Argument | Typ | Beschreibung |
| - | - | - |
| `<id>` | string | **Erforderlich.** Ressourcen-ID. |

## homelab api pairing-tokens list

Pairing-Tokens auflisten.

```bash theme={null}
homelab api pairing-tokens list [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/trust/pairing-tokens` |
| Ändert Zustand | Nein |
| MCP-Tool | `list_pairing_tokens` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.