Returns details of the datonis_role requested

Params

Param name Description
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean

Examples

Request - get details of the specified datonis_role (datonis_role specified as a part of the url)
  curl -X GET  -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A"  https://api.datonis.io/api/v3/datonis_roles/d5552947a8

Response (returns details of the datonis_role requested)
{
  "datonis_role": {
    "abilities": [
      3
    ],
    "account_admin": false,
    "datonis_role_key": "d5552947a8",
    "name": "Agent",
    "permissions": [
      {
        "class": "thing",
        "operation": "read",
        "seqno": 1
      },
      {
        "class": "thing",
        "operation": "update",
        "seqno": 3
      },
      {
        "class": "sensor",
        "operation": "read",
        "seqno": 1
      },
      {
        "class": "sensor",
        "operation": "update",
        "seqno": 3
      }
    ],
    "created_at": 1448282945,
    "updated_at": 1448282945
  }
}