Public Core-Org Domain API
All Core Org APIs require a valid authentication token, this token can be obtained in two ways.
- When using a api token, an authentication token can be obtained by issuing a
POSTlike this:
curl --location --request POST 'https://console.cloud.broadcom.com/csp/gateway/am/api/auth/api-tokens/authorize' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'api_token=string'
This SAAS API is defined at: https://console.cloud.broadcom.com/developer-center/authentication#/Authentication/getAccessTokenByApiRefreshTokenUsingPOST
The
api_tokenused to get a valid authentication token can be obtained after successful login to following URL via a web browser: https://console.cloud.broadcom.com/my-account/api-tokens.
- When using client credentials, an authentication token can be obtained by issuing a
POSTlike this:
curl --location --request POST 'https://console.cloud.broadcom.com/csp/gateway/am/api/auth/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic {encoded:OAuth-client-id+client_secret}' \
--data-urlencode 'grant_type=client_credentials'
This SAAS API is defined at: https://console.cloud.broadcom.com/developer-center/authentication#/Authentication/getTokenForAuthorizationGrantTypeUsingPOST
The
client_idandclient_secretused to get a valid authentication token can be obtained from the 'OAuth Apps' section in the CSP settings for theorgIdorganization.