# neodesk tags

Source: https://docs.neode.sk/command-line/reference/tags/
Last updated: 2026-11-25

> 3 commands. Device tags.

Device tags.

`neodesk tags --help` lists the same commands in the terminal. The flags every command takes are in the [command reference](https://docs.neode.sk/command-line/reference.md#flags-for-every-command).

## neodesk tags delete

Remove a tag from every device.

```text quoted
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.

```text quoted
neodesk tags list [flags]
```

Needs device.view; only reads. Calls `GET /api/tags`.

## neodesk tags rename

Rename a tag on every device.

```text quoted
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`.
