Search the docsCtrl K
Menu
Docs / Command line Updated Edit on GitHub

neodesk device-groups

Copy as Markdown

Device groups (manual and by tag).

neodesk device-groups --help lists the same commands in the terminal. The flags every command takes are in the command reference.

neodesk device-groups delete

Delete a device group.

neodesk device-groups delete <guid> [flags]
Argument What it is
<guid> The group's GUID

Needs device.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/device-groups/{guid}.

neodesk device-groups list

List device groups.

neodesk device-groups list [flags]

Needs device.view; only reads. Calls GET /api/device-groups.

neodesk device-groups save

Create a device group, or change one when --guid is given.

neodesk device-groups save [flags]
Flag What it is
--guid GUID the group to change
--name NAME the name
--note NOTE a note
--tag-filter TAG_FILTER devices with this tag join by themselves

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

Type to search pages, sections, commands and settings.