7.3

Table Of Contents
Contents
vRealize Automation Programming Guide 7
Updated Information 8
1
Overview of the vRealize Automation REST API 9
REST API Services 9
Using the vRealize Automation REST API 11
About the API Use Cases 12
2
REST API Authentication 13
About HTTP Bearer Tokens 13
Configure the Duration of an HTTP Bearer Token 14
Request an HTTP Bearer Token 14
Syntax for Requesting an HTTP Bearer Token 16
Validate an HTTP Bearer Token 17
Delete an HTTP Bearer Token 18
3
Creating a Tenant 20
Prerequisites for Creating a Tenant 20
Create a Tenant With Parameters Inline 20
Create a Tenant With a JSON File 23
Identity Service Examples for Creating a Tenant 25
Syntax for Displaying Your Current Tenants 26
Syntax for Requesting a New Tenant 28
Syntax for Listing All Tenant Identity Stores 31
Syntax for Linking an Identity Store to the Tenant 33
Syntax for Searching LDAP or Active Directory for a User 37
Syntax for Assigning a User to a Role 38
Syntax for Displaying all Roles Assigned to a User 39
4
Requesting a Machine 42
Request a Machine 42
Catalog Service Examples for Requesting a Machine 44
Syntax for Listing Shared and Private Catalog Items 44
Syntax for Getting Information for a Catalog Item 48
Syntax for Getting a Template Request for a Catalog Item 52
Syntax for Requesting a Machine 55
Syntax for Viewing Details of a Machine Request 59
VMware, Inc.
3