Docs / Command line
Updated
Edit on GitHub
neodesk guest-links
Copy as MarkdownGuest 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.
neodesk guest-links create
Make a guest link that lets someone connect to devices for a while.
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.
neodesk guest-links list [flags]Needs guest.create; only reads. Calls GET /api/guest/access-links.
neodesk guest-links revoke
Revoke a guest link.
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}.