Get Role ID

Version Requirement:

This functionality is for Dremio v18.0+ Enterprise Edition only.

This API returns all information associated with a role ID, including members of that role. All members are returned up to 25 entries (pagination is not currently supported).

Endpoint Syntax

GET /api/v3/role/{id}

Required Privileges

All users executing this Rest API must have the MANAGE GRANTS privilege assigned to receive a response output.

Response Output

This is the standard response output for the API.

{“id”: “5ebcf4fa-ef8d-4bb4-8660-b18b18f661d6”,
 “name”: “admin”,
 “tag”: “abcd”,
 “description”: “description”,
   “Roles”: [
    {“id”: “5ebcf4fa-ef8d-4bb4-8660-b18b18f66123”,
    “type”: “user”,
    “name”: “a user”
   }, …, 

Response Codes

  • 200 - Success.
  • 403 - The user executing the API request lacks the MANAGE GRANTS permission.
  • 404 - The role is not found.


curl -X GET --location "" \
    -H "Authorization: _dremiopu2916f7aph06aahv4ksu4life" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"