- Register your client with SAuth and collect your client secret. Refer to Cloud Security: Authentication & Authorization for more information.
Use the cURL given below to generate a CCG token.
CURL Request:
| Sample Request | Sample Response |
|---|---|
| curl -X POST \ 'https://csi.slb.com/v2/token' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -d '{ "client_id":"YOUR_CLIENT_ID", "client_secret":"YOUR_CLIENT_SECRET", "grant_type":"client_credentials", "scope": "ntm-master-svc-ntm.slbservice.com", }' | { "access_token": "ACCESS_TOKEN" , "expires_in": 3600 , "token_type": "Bearer" ,} |