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.