Skip to content

List Role Scopes API
Stable

Request

API to retrieve scopes of an roles for the tenant

Security
apiKey
Path
role_idstring, (uuid)required

Role ID

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/authz2/v1/roles/{role_id}/scopes' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Request Succeded

Bodyapplication/json
countinteger
scopesArray of objects(ScopeResponse)
Response
{ "count": 0, "scopes": [ {} ] }