- The API returns active subscriptions associated with the user specified in the provided user token, given that the user has accepted the latest SLB Digital T&Cs.
- At least one of groupId, appCode or billingAccountId is required.
- If query parameters are specified, then the results are filtered using an AND operation.
- The user is identified through their user-principal, as indicated by the email claim in the JWT token within the authorization header.
- The API caller is authenticated via the service principal, as indicated by the azp (Authorized Party) claim in the JWT token within the authorization header.
- If your application must be scoped to specific billing accounts, the client ID needs the
ccm.subscription.read(e.g., the controlPlaneAdmin role) permission. Please raise the request with the CSI team. - The API enforces a request rate limit of 10 requests per minute per caller.
Security
bearer and appkey
- UShttps://api.delfi.slb.com/ccm/userSubscription/v2/userSubscriptions
- EUhttps://eu-api.delfi.slb.com/ccm/userSubscription/v2/userSubscriptions
- Mock serverhttps://developer.slb.com/_mock/solutions/ccm/apis/ccm-user-subscription-service/v2/userSubscriptions
curl -i -X GET \
'https://api.delfi.slb.com/ccm/userSubscription/v2/userSubscriptions?appCode=apideveloperportal&groupId=Cirrus&billingAccountId=DIGITAL2020' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'appkey: YOUR_API_KEY_HERE'Response
{ "hasAcceptedTerms": true, "userSubscriptions": [ { … } ] }