org display
Display information about an org.
Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if applicable.
Use –verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a refresh token that can be used to access an org. Don’t share or distribute this URL or token.
Including –verbose displays the sfdxAuthUrl property only if you authenticated to the org using “org login web” (not “org login jwt”).
force:org:display
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
‑‑verbose | N/A | Type: Boolean Display the sfdxAuthUrl property. |
Display information about your default org:
Display information, including the sfdxAuthUrl property, about the org with alias TestOrg1: