# neodesk address-books

Quelle: https://docs.neode.sk/de/command-line/reference/address-books/
Zuletzt geändert: 2026-12-03

> 6 Befehle. Geteilte Adressbücher, ihre Mitglieder und die Regel jedes Mitglieds.

Geteilte Adressbücher, ihre Mitglieder und die Regel jedes Mitglieds.

Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit `neodesk address-books --help` zeigt. Die Flags, die jeder Befehl kennt, stehen in der [Befehlsreferenz](https://docs.neode.sk/de/command-line/reference.md#flags-for-every-command).

## neodesk address-books accounts

List the accounts you can add as members.

```text quoted
neodesk address-books accounts [flags]
```

Needs device.view; only reads. Calls `GET /api/address-books/accounts`.

## neodesk address-books create

Create a shared address book that you own.

```text quoted
neodesk address-books create --name NAME [flags]
```

| Flag | What it is |
|---|---|
| `--name NAME` | the name, 1 to 100 characters (required) |
| `--note NOTE` | a note the apps show with the book |
| `--self-join` | let devices add themselves with RustDesk's preset address book options (left out: off for a new book, unchanged otherwise) |

Needs device.edit; changes something: needs a token with read and write access. Calls `POST /api/address-books`.

## neodesk address-books delete

Delete a shared address book.

```text quoted
neodesk address-books delete <guid> [flags]
```

| Argument | What it is |
|---|---|
| `<guid>` | The book's GUID (see address-books list) |

Needs device.view, as the book's owner; 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/address-books/{guid}`.

## neodesk address-books list

List the shared address books you own or are a member of; every book for the server-level roles.

--json shows the owner and the members with their rules (1 read only, 2 read and write, 3 full control).

```text quoted
neodesk address-books list [flags]
```

Needs device.view; only reads. Calls `GET /api/address-books`.

## neodesk address-books members-set

Replace the members of a shared address book.

Give the members with --data, each as {"id":&lt;account ID>,"rule":1} with rule 1 read only, 2 read and write, 3 full control.

```text quoted
neodesk address-books members-set <guid> [flags]
```

| Argument | What it is |
|---|---|
| `<guid>` | The book's GUID (see address-books list) |

Needs device.view, with full control of the book; changes something: needs a token with read and write access. Calls `PUT /api/address-books/{guid}/members`.

```text quoted
neodesk address-books members-set <guid> --data '{"members":[{"id":5,"rule":2}]}'
```

## neodesk address-books update

Rename a shared address book or change its note.

```text quoted
neodesk address-books update <guid> [flags]
```

| Argument | What it is |
|---|---|
| `<guid>` | The book's GUID (see address-books list) |

| Flag | What it is |
|---|---|
| `--name NAME` | new name |
| `--note NOTE` | new note, empty for none |
| `--self-join` | let devices add themselves with RustDesk's preset address book options (left out: off for a new book, unchanged otherwise) |

Needs device.view, with full control of the book; changes something: needs a token with read and write access. Calls `PATCH /api/address-books/{guid}`.
