# `tartan group`

_For tartan 0.9.36._

## `tartan group add`

put a tag on up to 20 devices (--dry-run: the rules that start or stop applying to each); a Tech: tags Techs may apply, on ordinary devices, never a tag a grant or egress scope uses

```
tartan group add --org <string> --name <string> --device <list>
```

**Role:** tech · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run` · **Batch:** may share one passkey prompt

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |
| `--device` | list | yes | device ids, up to 20 |

## `tartan group create`

add a tag to the org's list: lowercase letters, digits and dashes, starting with a letter, 1-32 characters

```
tartan group create --org <string> --name <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Batch:** may share one passkey prompt

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |
| `--description` | string | no | a label, in no cert |
| `--techs` | bool | no | Techs may apply it (refused for a tag a live grant or egress scope uses) |
| `--confirm` | bool | no | add it anyway when it is one letter from a listed tag |

## `tartan group delete`

take a tag off the org's list (refused while a rule, grant, egress scope or live join code names it): it comes off every device, each re-issues at its next check-in, and its old cert is blocklisted once it has the new one (--dry-run: the devices)

```
tartan group delete --org <string> --name <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run`

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |

## `tartan group describe`

set a tag's description (a label, in no cert)

```
tartan group describe --org <string> --name <string> --description <string>
```

**Role:** admin · **Writes:** yes · **Steps up:** never

**Step-up exempt:** a tag's description is a label

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |
| `--description` | string | yes | the label; empty clears it |

## `tartan group list`

every group tag, listed or in use: devices, live join codes, rules, grants and egress scopes that use it; listed, legacy, Techs may apply, seeded from; orphan and unmatched tags; partner labels apart

```
tartan group list --org <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |

## `tartan group remove`

take a tag off up to 20 devices (--dry-run: the rules that start or stop applying to each); a Tech: as group add

```
tartan group remove --org <string> --name <string> --device <list>
```

**Role:** tech · **Writes:** yes · **Steps up:** always · **Dry run:** `--dry-run` · **Batch:** may share one passkey prompt

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words; it can share one passkey prompt with other writes (tartan batch run)

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |
| `--device` | list | yes | device ids, up to 20 |

## `tartan group set`

whether Techs may apply a tag (replaces tech_mintable; refused on for a tag a live grant or egress scope uses)

```
tartan group set --org <string> --name <string> --techs <bool>
```

**Role:** admin · **Writes:** yes · **Steps up:** always

**Person acts:** passkey prompt: the person approves this exact write with their passkey, after the CLI shows it in words

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |
| `--techs` | bool | yes | true: Techs may apply it |

## `tartan group show`

one group tag: its devices (and whether each one's cert carries it yet), live join codes, rules, grants and egress scopes

```
tartan group show --org <string> --name <string>
```

**Role:** viewer · **Writes:** no · **Steps up:** never

| Flag | Type | Required | What |
|---|---|---|---|
| `--org` | string | yes | org handle or id |
| `--name` | string | yes | the tag |
