Create an Organization (Org) using the cf CLI

The Orgs can also be created using the cf CLI. To do this, we will login to the PCF Dev environment by executing the cf login -a https://api.local.pcfdev.io --skip-ssl-validation command. 

Before we move further, let's take a look at the help text on how to create an Org. We will execute the cf create-org --help command:

Figure 6: Help command on how to create an Org using cf CLI

Now, in order to create the Org, we need to execute the cf create-org ORG-NAME command, where the ORG-NAME would be the name of the Application Group, the Business Unit, or the Product Group.

For illustration purposes, ...

Get Cloud Foundry for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.