Applicable api modes
session token key oauthApi tags for this endpoint
usergroups.agent_groups.list- Filters
- Response
- Status Codes
Name | Information | ||||||
---|---|---|---|---|---|---|---|
page |
|
||||||
count |
|
||||||
limit |
|
||||||
ids |
|
Parameter | Type | Versions | Description |
---|---|---|---|
data[] | array of objects (Usergroup) | * | |
data[][title] | string | * | Title of the usergroup. |
data[][id] | integer | * | The unique ID, DB-generated. |
data[][note] | string | * | A note or description about the usergroup. |
data[][is_agent_group] | boolean | * | Is this an agent group? |
data[][sys_name] | string | * | When non-null, the group is a special system group (hidden from most interfaces). |
data[][is_enabled] | boolean | * | Is the group enabled? |
data[][permissions][] | array of objects (Permission) | * | Usergroup permissions. |
data[][permissions][][id] | integer | * | The unique ID. |
data[][permissions][][name] | string | * | The name of the permission. |
data[][permissions][][value] | integer | * | Any numeric number (ex filesize, flag). |
data[][permissions][][is_active] | boolean | * | True means this permission record is active for normal use with the permission resolver. When a $person permission is used but the $person in question is also part of a usergroup, then this record might be superfluous: If the ug grants the perm, and this record grants the perm, then we have two records that both grant the perm. This isn't harmful usually but if you have many many agents defined and they all have these duplicative perms, then you end up with many thousands of extra rows, which are all fetched and processed with the permission resolver. So we turn these extra perms "off" so the resolver doesn't fetch them. That means if a hd with many agent uses groups instead of overrides, permission resolving is much much faster. |
data[][department_permissions][] | array of objects (DepartmentPermission) | * | |
data[][department_permissions][][department] | integer id (Department) | * | |
data[][department_permissions][][app] | string | * | Application name. It's going to be either chat or tickets. |
data[][department_permissions][][name] | string | * | The name of the permission. |
data[][department_permissions][][value] | integer | * | Any numeric number (ex filesize, flag). |
data[][department_permissions][][is_active] | boolean | * | |
data[][people][] | array of objects (Person) | * | Usergroup members. |