--- title: "zorg commands" slug: "zorg-commands" description: "Use zorg commands in Zilliant CLI to work with your Zilliant organizations." updated: 2025-05-13T13:27:32Z published: 2025-05-13T13:27:32Z canonical: "docs.zilliant.com/zorg-commands" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zilliant.com/llms.txt > Use this file to discover all available pages before exploring further. # zorg commands Use `zorg` commands to work with your ZOrgs. ## Commands | Command | Description | | --- | --- | | [zorg:list](/docs/zorg-commands#zdx-zorglist) | Lists all ZOrgs you've signed in to from this computer. | | [zorg:login](/docs/zorg-commands#zdx-zorglogin) | Obtains an OAuth token to work with a ZOrg. | | [zorg:logout](/docs/zorg-commands#zdx-zorglogout) | Deactivates the OAuth token for a ZOrg. | Tips - Run the `zdx commands` command to list all supported commands. - All Zilliant CLI commands support the `--help` parameter. Run a command with this parameter for a description and list of supported parameters. --- ## zdx zorg:list Lists all ZOrgs you've signed into from this computer and indicates whether their OAuth tokens are still valid. #### Parameters None. --- ## zdx zorg:login Obtains an OAuth token from Salesforce to work with your ZOrg. The token is valid for up to 8 hours. #### Parameters - `-c` | `--client-id` (Required.) Client ID of the connected authorization app in Salesforce. - `-s` | `--client-secret` (Required.) Client secret of the connected authorization app in Salesforce. - `-t` | `--is-sandbox` (Optional.) Boolean to define whether your ZOrg is a test or sandbox org. The default value is **false**. - `-z` | `--zorg-id` (Required.) ZOrg ID. - `-a` | `--alias` (Optional.) The alias to assign to your ZOrg ID. Note Contact your Zilliant representative to get the client ID, client secret, and ZOrg ID. The command output includes a URL and a code to proceed with obtaining a token. For details, refer to [Sign in to ZOrgs](/docs/sign-in-to-zorgs). #### Example ``` PS C:\Users\username> zdx zorg:login -c clientID -s OAuthSecret -z ZorgID Please enter 'code' on the Salesforce page that opened or navigate to URL and enter it there. It should have been automatically copied to your clipboard. ``` --- ### zdx zorg:logout Deactivates the OAuth token for a ZOrg. #### Parameters `-z` | `--zorg-id` (Required.) ID or alias of the ZOrg for which you want to deactivate the OAuth token. A Zilliant org (ZOrg) is a virtual space provided to an individual Zilliant customer. It includes all customer data, applications, and customizations. A ZOrg can include a Salesforce org and ZCloud configurations.