Public Core-Org Domain API

Public Core-Org Domain API

All Core Org APIs require a valid authentication token, this token can be obtained in two ways.

  1. When using a refresh token, an authentication token can be obtained by issuing a POST like this:
curl --location --request POST 'https://console-stg.cloud.vmware.com/csp/gateway/am/api/auth/api-tokens/authorize' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=refresh_token' \
  --data-urlencode 'refresh_token={refresh-token|'
  1. When using client credentials, an authentication token can be obtained by issuing a POST like this:
curl --location --request POST 'https://console-stg.cloud.vmware.com/csp/gateway/am/api/auth/authorize' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'Authorization: Basic {encoded:OAuth-client-id+client_secret}' \
  --data-urlencode 'grant_type=client_credentials'