hardis:org:diagnose:legacyapi
Description
Checks if an org uses retired or someday retired API version
See article below
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
apiversion | option | override the api version used for api requests made by this command | |||
debug -d |
boolean | Activate debug mode (more logs) | |||
eventtype -e |
option | Type of EventLogFile event to analyze | ApiTotalUsage | ||
json | boolean | format output as json | |||
limit -l |
option | Number of latest EventLogFile events to analyze | 999 | ||
loglevel | option | logging level for this command invocation | warn | trace debug info warn error fatal |
|
outputfile -o |
option | Force the path and name of output report file. Must end with .csv | |||
skipauth | boolean | Skip authentication check when a default username is required | |||
targetusername -u |
option | username or alias for the target org; overrides default target org | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sfdx hardis:org:diagnose:legacyapi
$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com
$ sfdx hardis:org:diagnose:legacyapi --outputfile 'c:/path/to/folder/legacyapi.csv'
$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv