Create a Customer Organization

You can create a customer organization using the customer organization management API.

Prerequisites

  • You have the Provider Administrator or Provider Operations Administrator role in your VMware Cloud Partner Navigator provider organization.
  • Obtain an access token from the organization you want to manage and set it as the csp-auth-token request header. See Using VMware Cloud Partner Navigator APIs.
  • Set the Content-Type header of this request to application/json.

Procedure

  1. In the body of the request, enter the values of the parameters required for customer creation:
    {
    "tenantType": "",
    "country": "",
    "displayName": "",
    "companyName": "",
    "city": "",
    "state": "",
    "zip": "",
    "domain": "",
    "adminUserEmail": "",
    "tag": "",
    "addressLine1": ""
    }
    The adminUserEmail and tag input parameters are optional.
    The user email address that you enter in the adminUserEmail parameter automatically receives the Customer Administrator role within that customer organization.
  2. To create a customer organization, use your provider organization ID and run the HTTP POST request.
    POST https://console.navigator.vmware.com/cphub/api/core/v1/mgmt/orgs/org_ID/tenants

Results

A new customer organization is created and you receive a response with information about it.

Example: Create a New Customer Organization

This example creates a customer organization under a provider organization.

Enter the details for the new customer organization in the body of the request.
{
"tenantType": "DEFAULT",
"country": "US",
"displayName": "Lorem",
"companyName": "Lorem Ipsum",
"city": "Atlanta",
"state": "Georgia",
"zip": "30313",
"domain": “lorem.com",
"adminUserEmail": "",
"tag": "hightouchVMC",
"addressLine1": "Rosebery Avenue 13"
}
Enter your provider organization ID and create the customer organization.
POST https://console.navigator.vmware.com/cphub/api/core/v1/mgmt/orgs/9d9648a7-115a-4a06-a613-a0c4077469f7/tenants
The response returns details about the newly created customer organization.
{
  "id" : "6ee16f54-ed2e-44af-b505-3c4cbc6fbe33",
  "name" : "jy99ayz7",
  "displayName" : "Lorem",
  "companyName" : "Lorem Ipsum",
  "country" : "US",
  "state" : "Georgia”,
  "city" : "Atlanta",
  "zip" : "30313",
  "domain" : "lorem.com",
  "tag" : "hightouchVMC",
  "status" : "ACTIVE",
  "addressLine1: "Rosebery Avenue 13"
  "orgType" : "TENANT",
  "parentOrgId" : "9d9648a7-115a-4a06-a613-a0c4077469f7",
  "childOrgIds" : [ ],
  "tenantType" : "DEFAULT",
  "isFederated" : false
}