7.2

Table Of Contents
Parameter Description
Links Species an array of link objects, each of which contains the
following parts:
n
rel
Species the name of the link.
n
Self refers to the object that was returned or
requested. This parameter does not appear when
you query a single prole.
n
First, Previous, Next, and Last refer to
corresponding pages of pageable lists.
n
Species the application or service that determines
the other names.
n
href
Species the URL that produces the result.
Content Species an array of data rows, each of which represents
one of the tenant objects returned in a pageable list. Each
tenant object can contain the following information:
n
Id:
Species the unique tenant identier.
n
urlName:
Species the name of the tenant as it appears in URLs.
n
Name:
Species the name of the tenant for display purposes.
n
description:
Species the long description of the tenant.
n
contactEmail:
Species the primary contact email address.
n
Password:
Unused
n
defaultTenant:
Is set to True if the corresponding tenant is the default
tenant (vsphere.local).
Metadata Species the following paging-related data:
n
Size: Species the maximum number of rows per page.
n
totalElement: Species the number of rows returned.
This parameter is not output when you query for a
single prole.
n
totalPages: Species the total number of pages of data
available.
n
Number: Species the current page number.
n
Oset: Species the number of rows skipped.
Example: curl Command
The following example command lists the identity stores by using variables, instead of the full token and
host name.domain name.
curl --insecure -H "Accept: application/json" -H 'Content-Type: application/json'
-H "Authorization: Bearer $token” https://$host/identity/api/tenants/MYCOMPANY/directories
Programming Guide
24 VMware, Inc.