neodesk organizations
Als Markdown kopierenOrganisationen mit ihren Benutzern, Geräten und Einstellungen.
Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit neodesk organizations --help zeigt. Die Flags, die jeder Befehl kennt, stehen in der Befehlsreferenz.
neodesk organizations address-book
Show an organization's address book.
neodesk organizations address-book <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs user.view; only reads. Calls GET /api/panel/org/{id}/address-book.
neodesk organizations address-book-set
Replace an organization's address book.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations address-book-set <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/org/{id}/address-book.
neodesk organizations available-users
List accounts that can join an organization.
neodesk organizations available-users <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_users; only reads. Calls GET /api/panel/org/{id}/available-users.
neodesk organizations create
Make an organization.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations create [flags]Needs org.create; changes something: needs a token with read and write access. Calls POST /api/panel/org.
neodesk organizations credential-delete
Delete the saved sign-in of a device in an organization.
neodesk organizations credential-delete <id> <peerId> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<peerId> |
The peer id |
Needs org.edit; 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/panel/org/{id}/peer-credentials/{peerId}.
neodesk organizations credential-set
Save the sign-in of a device in an organization.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations credential-set <id> <peerId> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<peerId> |
The peer id |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/org/{id}/peer-credentials/{peerId}.
neodesk organizations credentials
List the saved device sign-ins of an organization.
neodesk organizations credentials <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_devices; only reads; the answer holds secrets or private content. Calls GET /api/panel/org/{id}/peer-credentials.
neodesk organizations delete
Delete an organization. Its devices and device groups stay.
neodesk organizations delete <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.delete; 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/panel/org/{id}.
neodesk organizations device-add
Add a device to an organization.
neodesk organizations device-add <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
| Flag | What it is |
|---|---|
--device-id DEVICE_ID |
ID of the device to add; the server must know it |
Needs org.manage_devices; changes something: needs a token with read and write access. Calls POST /api/panel/org/{id}/devices.
neodesk organizations device-groups
List an organization's device groups.
neodesk organizations device-groups <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs user.view; only reads. Calls GET /api/panel/org/{id}/device-groups.
neodesk organizations device-remove
Take a device out of an organization.
neodesk organizations device-remove <id> <did> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<did> |
The did |
Needs org.manage_devices; 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/panel/org/{id}/devices/{did}.
neodesk organizations devices
List an organization's devices.
neodesk organizations devices <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs user.view; only reads. Calls GET /api/panel/org/{id}/devices.
neodesk organizations get
Show one organization.
neodesk organizations get <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs user.view; only reads. Calls GET /api/panel/org/{id}.
neodesk organizations invitation-delete
Withdraw an invitation to an organization.
neodesk organizations invitation-delete <id> <invId> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<invId> |
The inv id |
Needs org.manage_users; 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/panel/org/{id}/invitations/{invId}.
neodesk organizations invitations
List an organization's open invitations.
neodesk organizations invitations <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_users; only reads. Calls GET /api/panel/org/{id}/invitations.
neodesk organizations invite
Invite someone to an organization (the code is shown once).
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations invite <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_users; changes something: needs a token with read and write access. Calls POST /api/panel/org/{id}/invite.
neodesk organizations list
List organizations.
neodesk organizations list [flags]Needs user.view; only reads. Calls GET /api/panel/org.
neodesk organizations member-add
Add a console account to an organization.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations member-add <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_users; changes something: needs a token with read and write access. Calls POST /api/panel/org/{id}/members.
neodesk organizations member-remove
Take a console account out of an organization.
neodesk organizations member-remove <id> <userId> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<userId> |
The user id |
Needs org.manage_users; 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/panel/org/{id}/members/{userId}.
neodesk organizations settings
Show an organization's settings.
neodesk organizations settings <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs user.view; only reads. Calls GET /api/panel/org/{id}/settings.
neodesk organizations settings-set
Change an organization's settings.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations settings-set <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/org/{id}/settings.
neodesk organizations update
Change an organization.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations update <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.edit; changes something: needs a token with read and write access. Calls PUT /api/panel/org/{id}.
neodesk organizations user-create
Make a user of an organization (desktop client sign-in).
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations user-create <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_users; changes something: needs a token with read and write access. Calls POST /api/panel/org/{id}/users.
neodesk organizations user-delete
Delete a user of an organization.
neodesk organizations user-delete <id> <uid> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<uid> |
The uid |
Needs org.manage_users; 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/panel/org/{id}/users/{uid}.
neodesk organizations user-set
Change a user of an organization.
Give the request body with -f key=value (text), -F key=json (numbers, true or false, lists) or --data JSON (or --data @file.json). The answer to a wrong body names what is missing.
neodesk organizations user-set <id> <uid> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
<uid> |
The uid |
Needs org.manage_users; changes something: needs a token with read and write access. Calls PUT /api/panel/org/{id}/users/{uid}.
neodesk organizations users
List an organization's users.
neodesk organizations users <id> [flags]| Argument | What it is |
|---|---|
<id> |
The ID |
Needs org.manage_users and user.view; only reads. Calls GET /api/panel/org/{id}/users.