> ## 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

> Generated reference for the homelab api pairing-tokens commands

> [!NOTE]
>
> Generated from the Homelab v0.49.2 release (source `2614eaba28d8`). For an installed version, `homelab api <command> --help` is authoritative.

## homelab api pairing-tokens create

Create pairing token for worker registration.

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

| | |
| - | - |
| HTTP | `POST /api/v1/trust/pairing-tokens` |
| Changes state | Yes |
| MCP tool | `create_pairing_token` |

| Argument | Type | Description |
| - | - | - |
| `--environment-class` | string | Explicit owner placement declaration; omit when unknown. One of `local`, `cloud`. |
| `--name` | string | — |
| `--server-provisioning-mode` | string | One of `install-command`, `connect-remote`. |
| `--stack-id` | string | — |
| `--body` | json | JSON request body (`application/json`) as a literal, `@path` or `-` for stdin. |

## homelab api pairing-tokens delete

Delete pairing token.

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

> [!WARNING]
>
> Requires confirmation: This operation revokes the pairing token; devices that have not paired yet can no longer use it. Pass `--yes` or answer the prompt; a non-interactive run without `--yes` stops before any request with exit code 9.

| | |
| - | - |
| HTTP | `DELETE /api/v1/trust/pairing-tokens/{id}` |
| Changes state | Yes |
| MCP tool | `delete_pairing_token` |

| Argument | Type | Description |
| - | - | - |
| `<id>` | string | **Required.** Resource ID. |

## homelab api pairing-tokens list

List pairing tokens.

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

| | |
| - | - |
| HTTP | `GET /api/v1/trust/pairing-tokens` |
| Changes state | No |
| MCP tool | `list_pairing_tokens` |


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