Public Network Service API

Public Network Service API

All Network Service 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 -s -X POST \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    https://console.cloud.broadcom.com/csp/gateway/am/api/auth/api-tokens/authorize \
 -d "api_token=string"
  1. When using client credentials, an authentication token can be obtained by issuing a POST like this:
curl -s -X POST \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -d 'grant_type=client_credentials& \
        client_id=<OAuth-client-id>&
        client_secret=<client-secret>&
        orgId=<org-id>'
    https://console.cloud.broadcom.com/csp/gateway/am/api/auth/token
  • The client_id and client_secret used to get a valid authentication token can be obtained from the 'OAuth Apps' section in the CSP settings for the orgId organization.