Retrieve Details About All Customer Organizations

You can retrieve information about the customer organizations managed by your provider organization by using the customer organization management API.

Prerequisites

  • You have the Provider Administrator, Provider Operations Administrator, or Provider Account 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

  • Enter the ID of your provider organization and run a GET request.
    GET https://console.navigator.vmware.com/cphub/api/core/v1/mgmt/orgs/org_ID/tenants

Results

The response returns details about all customer organizations managed by your provider organization.

Example: Retrieve Details About All Tenant Organizations

This example retrieves details about the customer organizations managed by a provider organization.

Enter the ID of your provider organization and retrieve data about all customer organizations managed by it.
GET https://console.navigator.vmware.com/cphub/api/core/v1/mgmt/orgs/9d9648a7-115a-4a06-a613-a0c4077469f7/tenants
The response returns information about all customer organizations managed by the provider organization.
[{
  "createTimestamp" : 1554709912558,
  "updateTimestamp" : 1557304298402,
  "id" : "63b4d332-21a9-456d-8fcb-f480c5e11f23",
  "name" : "ju8250wx",
  "displayName" : "Lorem", 
  "companyName" : "Lorem Ipsum",
  "adminUserName" : "",
  "adminUserEmail" : "",
  "country" : "US",
  "state" : "GA",
  "city" : "Atlanta",
  "zip" : "30313",
  "domain" : "lorem.com", 
  "tag" : "",
  "status" : "ACTIVE",
  "orgType" : "TENANT",
  "parentOrgId" : "9d9648a7-115a-4a06-a613-a0c4077469f7",
  "childOrgIds" : [ ],
  "tenantType" : "DEFAULT",
  "isFederated" : true
}, 
...