Skip to content

Get Role API
Stable

Request

API to retrieve the role 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}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Request Succeded

Bodyapplication/json
idstring
namestring
descriptionstring
role_typeinteger
Response
{ "id": "string", "name": "string", "description": "string", "role_type": 0 }