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
| Argument | Required | Description |
|---|---|---|
authProfileName | Yes | Authentication profile name |
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 |
--gadget-id | option | No | Gadget ID (→ ?gadgetId=) |
Examples
sh
pega auth-profiles get MyProfilesh
pega auth-profiles get MyProfile --gadget-id gadget123auth-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-tokens — view command source
Arguments
| Argument | Required | Description |
|---|---|---|
authProfileName | Yes | Authentication profile name |
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 |
--gadget-id | option | No | Gadget ID (→ ?gadgetId=) |
Examples
sh
pega auth-profiles revoke-tokens MyProfilesh
pega auth-profiles revoke-tokens MyProfile --gadget-id gadget123