VMware Cloud APIs
All VMware Cloud APIs require a valid authentication token; which can be obtained by issuing a
POST:curl -s -X POST \ -H "Content-Type: application/json" \ https://console.cloud.vmware.com/csp/gateway/am/api/auth/api-tokens/authorize?refresh_token={refresh-token}This CSP API is defined at: https://console.cloud.vmware.com/csp/gateway/am/api/swagger-ui.html#/Authentication/getAccessTokenByApiRefreshTokenUsingPOST
The
refresh_tokenused to get a valid authentication token can be obtained after successful login to following URL via a web browser: https://console.cloud.vmware.com/csp/gateway/portal/#/user/tokens.Most VMware Cloud APIs require an org identifier. This can be obtained by issuing a
GETon/vmc/api/orgsand extracting theidfield