No permission when trying to access https://api.zoom.us/v2/roles

Hi,

I am trying to retrieve the list of roles using the api.zoom.us/v2/roles API.
My app has the relevant scope (i.e., role:master), however, I get the following response:
{
“code”: 200,
“message”: “No permission.”
}

Any idea why does it happen and how to resolve it?

@bennyb ,

Was this endpoint working previously for you in the same way you’re accessing now? If so, when did this behavior change?

Additionally, do you have a master-sub account set up? If not, please adjust the endpoint based on the guidance in the hyperlinked document.

@gianni.zoom Thanks for the prompt reply.
I don’t have sub-account.
This is a new application that I’ve set up recently, however, it is based on a legacy code that used the old JWT authentication.
Other calls to the API such as: https://api.zoom.us/v2/users work fine.

Hi @bennyb , what type of app are you using now that JWT has been deprecated? Server to Server or Unified Build Flow app?

Additionally, if you do not have a master-sub account set up, you would not have the option to add master scopes unless something has changed with your account and needs to be re-conconfigured. It may be causing issues with querying.

Here are the updated granular scopes: can you please confirm the list of scopes you have applied? I want to compare if you have the old or new scopes and which ones exactly.