Get User Role

This endpoint allows you to grab all of the information for a given <USERROLE_ID>

GET: api/v3/userroles/<USERROLE_ID>

curl --header "X-API-TOKEN: <API_TOKEN>" \      
    'https://www.zenput.com/api/v3/userroles/<USERROLE_ID>'

Output (success)

{
  "meta": {
    "status_code": 200
  },
  "data": {
    "id": 2,
    "name": "User role name",
    "parent": {
      "id": 1,
      "name": "Parent user role"
    },
    "children": [],
    "default_permission": {
      "id": 2,
      "name": "Manager"
    }
  }
}