Command structure
Ping CLI commands use a consistent multipart structure that must be specified in order.
Parts of a command
pingcli <command> <subcommand> [options and parameters]
| Part | Description |
|---|---|
|
The base call to the Ping CLI binary. |
|
The top-level command. This is either a core CLI capability (such as |
|
The operation to perform within the command. Product commands often have multiple levels of subcommand (for example, |
|
Flags and values accepted by the operation. These can be specified in any order after the first three parts. If a flag is specified more than once, only the last value applies. |
Product commands
Some top-level commands are the root of a product namespace: they group all operations for a specific Ping Identity product or service. A product command by itself does nothing; you must follow it with one or more subcommands that name the resource type and operation.
Product commands available in Ping CLI:
| Command | Product or service |
|---|---|
|
PingOne platform and universal services |
|
DaVinci universal service |
|
Some core commands, such as |
Resource action commands
Every resource type exposes a consistent set of action commands. For example, pingcli pingone applications supports:
| Action | Aliases | Description |
|---|---|---|
|
|
Returns all resources of this type in the environment. |
|
|
Returns a specific resource by ID. |
|
|
Creates a new resource from a JSON body supplied using |
|
|
Replaces an existing resource (HTTP PUT) from a JSON body supplied using |
|
|
Deletes a specific resource by ID. |
|
— |
Generates a JSON body skeleton to use as the starting point for |
Examples
List configuration keys
The following example lists all available Ping CLI configuration keys.
pingcli config list-keys
For more information, refer to pingcli config list-keys.
List PingOne environments
The following example lists all environments in your PingOne organization.
pingcli pingone environments list
For more information, refer to pingcli pingone environments list.