Skip to content

View one role

Request to view one role:

GET /api/v2/roles/<role-id>.json

Example of response:

{
    "role": {
        "role_id": "546340bf-8b47-21e4-95a4-e03f497dbd55",
        "tenant_id": "156340bf-8b47-21e4-95a4-e03f497dbd44",
        "name": "Supervisor Role",
        "access_level": "managed_groups",
        "permissions": {
            "system": [],
            "users": ["view"],
            "calls": ["view", "categorize", "on_demand_trigger"],
            ...
        }
    }
}