{ "name": "Senior Manager", "description": "Full access to everything including billing and settings", "permissions": [ "agent_view", "agent_create", "agent_edit", "agent_delete", "call_history_view" ] }
{ "_id": "665a1b2c3d4e5f6a7b8c9d0e", "name": "Senior Manager", "description": "Full access to everything including billing and settings", "permissions": [ { "key": "agent_view", "category": "agents" }, { "key": "agent_create", "category": "agents" }, { "key": "agent_edit", "category": "agents" }, { "key": "agent_delete", "category": "agents" }, { "key": "call_history_view", "category": "calls" } ] }
Update an existing role’s name, description, or permissions.
"agent_view"