Doku durchsuchenStrg K
Menü
Doku / Kommandozeile Geändert am Auf GitHub bearbeiten

neodesk invites

Als Markdown kopieren

Einladungen, die einen Computer zu diesem Server hinzufügen.

Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit neodesk invites --help zeigt. Die Flags, die jeder Befehl kennt, stehen in der Befehlsreferenz.

neodesk invites approve-key

Accept the new key of a computer that joined with an invite and was reinstalled.

The computer then rejoins with the same invite. Its old tokens and sessions end.

neodesk invites approve-key <id> [flags]
Argument What it is
<id> The device's ID

Needs enrollment.approve; changes something: needs a token with read and write access. Calls POST /api/onboard/devices/{id}/approve-key.

neodesk invites approve-key 123456789

neodesk invites create

Make an invite: a link and a code to add a computer to this server.

neodesk invites create [flags]
Flag What it is
--name NAME who or what it is for
--folder-id N put the new computer into this folder
--email EMAIL send the invite to this address
--hours N how long it works, in hours (default 168, at most 720)
--uses N how many computers may use it (default 1)
--send-email mail it to --email

Needs enrollment.approve; changes something: needs a token with read and write access. Calls POST /api/onboard/invites.

neodesk invites create --name "Reception PC"
neodesk invites create --name Laptops --uses 5 --hours 24

neodesk invites list

List the open invites to add a computer.

neodesk invites list [flags]

Needs enrollment.approve; only reads. Calls GET /api/onboard/invites.

neodesk invites mail

Mail an invite. The server keeps only a hash of the code, so give the code you got when you made it.

neodesk invites mail <id> (--code-stdin | --code CODE) --to TO [flags]
Argument What it is
<id> The invite ID (see invites list)
Flag What it is
--code-stdin read the code from standard input (its first line), so it stays out of the command line
--code CODE the invite code from invites create (this or --code-stdin is required)
--to TO the address (required)

Needs enrollment.approve; changes something: needs a token with read and write access. Calls POST /api/onboard/invites/{id}/mail.

neodesk invites revoke

Revoke an invite.

neodesk invites revoke <id> [flags]
Argument What it is
<id> The invite ID (see invites list)

Needs enrollment.approve; 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/onboard/invites/{id}.

neodesk invites status

Show what invites use here: the address in their links, whether mail can be sent, and the client release.

console.base is the address the links point to: another computer must reach it, so set the console's public address when it is localhost. mail says whether invites can be mailed. release is the client release the join page offers for download.

neodesk invites status [flags]

Needs enrollment.approve or device.connect; only reads. Calls GET /api/onboard/status.

Durchsucht Seiten, Abschnitte, Befehle und Einstellungen.