No access to the endpoints /roles & /roles/{id} & /users/{id}/roleAssignments

I created a developer sandbox account and add my app to Marketplace Manager.

I have all permissions in the app.

I was trying to call endpoints /roles & /roles/{id} & /users/{id}/roleAssignments

curl --location --request GET '' \
--header 'Authorization: Bearer 7550228:11547632:9c0efca32c6d93c5353dd5a7e2551764302dfe47'

and got the response:

    "success": false,
    "error": "Scope and URL mismatch",
    "errorCode": 403

Why can’t I access these endpoints?

Other endpoints are working. For example, /users, /users/{id}

Hi @a.skibardin

Unfortunately, not all endpoints can be called with OAuth token at the moment. You can find list of endpoints connected to scopes here

@mykhailo Do you plan to add these endpoints in the near future?

I am not aware of such changes at the moment.