Skip to content

auth-profiles

auth-profiles get

Get an authentication profile

Usage

bash
pega auth-profiles get <authProfileName> [flags]

Source endpoint: GET /authentication-profiles/{authProfileName}view command source

Arguments

ArgumentRequiredDescription
authProfileNameYesAuthentication profile name

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
--gadget-idoptionNoGadget ID (→ ?gadgetId=)

Examples

sh
pega auth-profiles get MyProfile
sh
pega auth-profiles get MyProfile --gadget-id gadget123

auth-profiles revoke-tokens

Revoke user-specific tokens for an authentication profile

Usage

bash
pega auth-profiles revoke-tokens <authProfileName> [flags]

Source endpoint: DELETE /authentication-profiles/{authProfileName}/user-tokensview command source

Arguments

ArgumentRequiredDescription
authProfileNameYesAuthentication profile name

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
--gadget-idoptionNoGadget ID (→ ?gadgetId=)

Examples

sh
pega auth-profiles revoke-tokens MyProfile
sh
pega auth-profiles revoke-tokens MyProfile --gadget-id gadget123