Generate Client Credentials Grant Type Token

Pre-requisites:

Use the cURL given below to generate a CCG token.

CURL Request:

Sample RequestSample 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"
,}