tags
tags add
Add one or more tags to a case
Usage
bash
pega tags add <caseId> [flags]Source endpoint: POST /cases/{caseID}/tags — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
caseId | Yes | Case ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
--tag | option | Yes | Tag name (repeat for multiple) |
Examples
sh
pega tags add MYAPP-CASE-1 --tag urgentsh
pega tags add MYAPP-CASE-1 --tag urgent --tag reviewtags delete
Remove a tag from a case
Usage
bash
pega tags delete <caseId> [flags]Source endpoint: DELETE /cases/{caseID}/tags/{tagID} — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
caseId | Yes | Case ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
--tag | option | Yes | Tag name |
Examples
sh
pega tags delete MYAPP-CASE-1 --tag urgenttags list
List all tags on a case
Usage
bash
pega tags list <caseId> [flags]Source endpoint: GET /cases/{caseID}/tags — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
caseId | Yes | Case ID |
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--format | option | No | json | Output format (json, compact, yaml, table) |
--fields | option | No | Comma-separated top-level fields to include in output | |
--dry-run | boolean | No | Print HTTP request details and exit without executing | |
--quiet | boolean | No | Suppress all stderr progress/warning output | |
--verbose | boolean | No | Emit full HTTP request/response details to stderr | |
--no-cache | boolean | No | Bypass token file cache; perform fresh OAuth exchange | |
--profile | option | No | default | Named config profile |
Examples
sh
pega tags list MYAPP-CASE-1