7.3

Table Of Contents
"type": "boolean",
"value": true
}
}
}
]
},
"isMultiValued": true
}
]
}
Syntax for Getting the Business Group ID for a Reservation
GET /api/tenants/{tenantId}/subtenants of the identity service API, lists all business groups. The
business group is also referred to as the subtenant in the API. When you create a reservation, you must
provide the business group ID, also referred to as the subtenant ID, in the REST command line. Use this
procedure to obtain the subTenantId value.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL https://$vRA/identity/api/tenants/$tenantId/subtenants
Method Get
$vRA Specifies the appliance name and fully qualified domain name, or IP address of the
vRealize Automation server.
$token Specifies a valid HTTP bearer token with necessary credentials.
$tenantId Specifies the ID of the tenant.
Use to indicate the tenant ID to be queried. Each subtenant, or business group, must
belong to a tenant.
Output
The command output contains property names and values based on the command input parameters.
Property Description
Links Species an array of link objects, each of which contains the following parts:
rel Specifies the name of the link.
n
Self refers to the object that was returned or requested.
n
First, Previous, Next, and Last refer to corresponding pages of pageable lists.
n
Specifies the application or service determines the other names.
href Specifies the URL which produces the result.
Content Specifies an array of data rows, each of which represents one of the tenant objects returned in a
pageable list. Each tenant object contains the following information:
Programming Guide
VMware, Inc. 233