Docs / Command line
Updated
Edit on GitHub
neodesk tags
Copy as MarkdownDevice tags.
neodesk tags --help lists the same commands in the terminal. The flags every command takes are in the command reference.
neodesk tags delete
Remove a tag from every device.
neodesk tags delete --tag TAG [flags]| Flag | What it is |
|---|---|
--tag TAG |
the tag (required) |
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 POST /api/tags/delete.
neodesk tags list
List the tags in use, with how many devices have each.
neodesk tags list [flags]Needs device.view; only reads. Calls GET /api/tags.
neodesk tags rename
Rename a tag on every device.
neodesk tags rename --from FROM --to TO [flags]| Flag | What it is |
|---|---|
--from FROM |
the old tag (required) |
--to TO |
the new tag (required) |
Needs device.edit; changes something: needs a token with read and write access. Calls POST /api/tags/rename.