Trouble accessing service-desk-ops api

Hi,

I am using my service account token (it has proper accesses granted) to do stuff with Jira, but also check teams on call schedules etc.

It works properly for Jira api, where I am using this base url:

https://api.atlassian.com/ex/jira/{cloud_id}

But when I am trying to check stuff from service-desk-ops, API I am getting 401 unauthorized.

The documentation ask for customerID, but I am not sure what that is, and why is that different that cloudID?

I am getting:
RuntimeError: Failed to list Jira Ops teams: 401 Client Error: Unauthorized for url: ``https://api.atlassian.com/ex/jira/{cloud_id_masked}/jsm/ops/api/v1/teams/{team_id_masked}/roles

  1. How do I get the customerID? What is that, or is it just old documentation, and no one noticed it?
  2. Is the URL I am using okay? The authentication I am using (bearer token in header) should be working fine, since it works for Jira stuff.