> Markdown version of https://tuna.am/en/docs/cli/endpoint/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tuna endpoint

Manage your endpoint reservations.

Manage reserved TCP endpoints.

In an interactive terminal opens a TUI to reserve, inspect and delete endpoints. Otherwise prints this help: use the subcommands below.

Usage

```bash
tuna endpoint [flags]

```

| Flag               | Description                                |
| ------------------ | ------------------------------------------ |
| `--api-key string` | Your tuna.am api key (env `TUNA_API_KEY`). |

## Subcommands

| Command                             | Description                                         |
| ----------------------------------- | --------------------------------------------------- |
| [`tuna endpoint clear`](#clear)     | Delete all the reserved endpoints.                  |
| [`tuna endpoint delete`](#delete)   | Delete a reserved endpoints.                        |
| [`tuna endpoint get`](#get)         | Show an endpoint and the tunnels that used it last. |
| [`tuna endpoint list`](#list)       | List all the reserved endpoints.                    |
| [`tuna endpoint reserve`](#reserve) | Reserve an endpoint.                                |

## tuna endpoint clear

Delete all the reserved endpoints.

Usage

```bash
tuna endpoint clear [flags]

```

| Flag        | Description                   |
| ----------- | ----------------------------- |
| `-y, --yes` | Skip the confirmation prompt. |

Also accepts the flags of `tuna endpoint`.

## tuna endpoint delete

Delete a reserved endpoints.

Alias: `del`.

Usage

```bash
tuna endpoint delete [alias] [flags]

```

| Flag        | Description                   |
| ----------- | ----------------------------- |
| `-y, --yes` | Skip the confirmation prompt. |

Also accepts the flags of `tuna endpoint`.

## tuna endpoint get

Show an endpoint and the tunnels that used it last.

Alias: `show`.

Usage

```bash
tuna endpoint get ALIAS

```

Also accepts the flags of `tuna endpoint`.

## tuna endpoint list

List all the reserved endpoints.

Alias: `ls`.

Usage

```bash
tuna endpoint list [flags]

```

| Flag     | Description            |
| -------- | ---------------------- |
| `--json` | Output in JSON format. |

Also accepts the flags of `tuna endpoint`.

## tuna endpoint reserve

Reserve an endpoint.

Alias: `add`.

Usage

```bash
tuna endpoint reserve ALIAS

```

Also accepts the flags of `tuna endpoint`.

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.
