To get the access token used to authenticate your session, you use Automation Assembler IaaS API to make a POST request with the API token as input.
Prerequisites
- Verify that you are an organization owner in VMware Aria Automation with access to the Automation Assembler service.
- Verify that you have an API Token. See Obtain an API Token with the Organization Owner organization role and the Automation Assembler administrator role.
- Verify that the URL variable is assigned.
url='https://api.mgmt.cloud.vmware.com'
Note: If your organization uses an API service that is hosted outside of the United States, verify that you know the country abbreviation for your API endpoint. For example, if your organization is located in Australia, your country abbreviation is AU and your API endpoint ishttps://au.api.mgmt.cloud.vmware.com
For all country abbreviations, see Regional Endpoints for VMware Aria Automation APIs.