Skip to content

tags

tags add

Add one or more tags to a case

Usage

bash
pega tags add <caseId> [flags]

Source endpoint: POST /cases/{caseID}/tagsview command source

Arguments

ArgumentRequiredDescription
caseIdYesCase ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile
--tagoptionYesTag name (repeat for multiple)

Examples

sh
pega tags add MYAPP-CASE-1 --tag urgent
sh
pega tags add MYAPP-CASE-1 --tag urgent --tag review

tags 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

ArgumentRequiredDescription
caseIdYesCase ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile
--tagoptionYesTag name

Examples

sh
pega tags delete MYAPP-CASE-1 --tag urgent

tags list

List all tags on a case

Usage

bash
pega tags list <caseId> [flags]

Source endpoint: GET /cases/{caseID}/tagsview command source

Arguments

ArgumentRequiredDescription
caseIdYesCase ID

Flags

FlagTypeRequiredDefaultDescription
--formatoptionNojsonOutput format (json, compact, yaml, table)
--fieldsoptionNoComma-separated top-level fields to include in output
--dry-runbooleanNoPrint HTTP request details and exit without executing
--quietbooleanNoSuppress all stderr progress/warning output
--verbosebooleanNoEmit full HTTP request/response details to stderr
--no-cachebooleanNoBypass token file cache; perform fresh OAuth exchange
--profileoptionNodefaultNamed config profile

Examples

sh
pega tags list MYAPP-CASE-1