# neodesk guest-links

Source: https://docs.neode.sk/command-line/reference/guest-links/
Last updated: 2026-11-25

> 3 commands. Guest links that let someone without an account connect.

Guest links that let someone without an account connect.

`neodesk guest-links --help` lists the same commands in the terminal. The flags every command takes are in the [command reference](https://docs.neode.sk/command-line/reference.md#flags-for-every-command).

## neodesk guest-links create

Make a guest link that lets someone connect to devices for a while.

```text quoted
neodesk guest-links create [flags]
```

| Flag | What it is |
|---|---|
| `--peer-ids A,B` | the devices the link opens, by ID, comma separated |
| `--ttl-minutes N` | minutes the link works, at most 1440 (left out: 60) |
| `--view-only` | watch only, no control; for mesh and CDAP devices only |
| `--label LABEL` | a name for the link |
| `--max-uses N` | how many times the link may be used (left out or 0: no limit) |

Needs guest.create; changes something: needs a token with read and write access; the answer holds secrets or private content. Calls `POST /api/guest/access-links`.

## neodesk guest-links list

List guest links.

```text quoted
neodesk guest-links list [flags]
```

Needs guest.create; only reads. Calls `GET /api/guest/access-links`.

## neodesk guest-links revoke

Revoke a guest link.

```text quoted
neodesk guest-links revoke <id> [flags]
```

| Argument | What it is |
|---|---|
| `<id>` | The ID |

Needs guest.create; changes something: needs a token with read and write access; deletes or ends something for good, so it asks first unless --yes is given. Calls `DELETE /api/guest/access-links/{id}`.
