Get Broker Tenants Admin Client
Returns the tenant admin client token info associated with pre-configured tenant(s) owned by vcenter trustmanagment service. if you do not have all of the privileges described as follows: - Operation execution requires VcIdentityProviders.Manage.
Request
URLURL
Path Parameters
Path Parameters
The tenant name for which the admin client token needs to be returned. The parameter must be an identifier for the resource type: com.vmware.vcenter.identity.broker.tenant.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
TokenInfo structure that contains a newly issued tenant admin client token.
{
"access_token": "string",
"expires_in": 0,
"token_type": "string"
}
Tenant client access token issued by the authorization server.
The type of the token issued. The access token type provides the client with the information required to successfully utilize the access token to make a protected resource request (along with type-specific attributes). The client MUST NOT use an access token if it does not understand the token type. “Bearer” token type as defined in RFC 6750 is supported.
The lifetime in seconds of the access token. For example, the value “3600” denotes that the access token will expire in one hour from the time the response was generated. unset if not applicable for issued token.
Errors
com.vmware.vapi.std.errors.not_found : if no tenant owned by vcenter trustmanagment service, with the input parameter found.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: get