Listing Compartments
Learn how to view the compartments in an an IAM tenancy.
- Use the list command and required parameters to view the compartments in a specified compartment: - oci iam compartment list- For a complete list of parameters and values for CLI commands, see the CLI Command Reference. 
- Run the ListCompartment operation to list the compartments in a specified compartment.