neodesk address-books
Copy as MarkdownShared address books, their members and each member's rule.
neodesk address-books --help lists the same commands in the terminal. The flags every command takes are in the command reference.
List the accounts you can add as members.
neodesk address-books accounts [flags]Needs device.view; only reads. Calls GET /api/address-books/accounts.
Create a shared address book that you own.
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.
Delete a shared address book.
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}.
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).
neodesk address-books list [flags]Needs device.view; only reads. Calls GET /api/address-books.
Replace the members of a shared address book.
Give the members with --data, each as {"id":<account ID>,"rule":1} with rule 1 read only, 2 read and write, 3 full control.
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.
neodesk address-books members-set <guid> --data '{"members":[{"id":5,"rule":2}]}'Rename a shared address book or change its note.
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}.