List Groups
Returns a paged list of groups.
To fetch all results, call repeatedly with the offset parameter as long as the result metadata has a next_offset value.
Requires "Grant read resource" API permission.
Parameters
Parameter | Description |
---|---|
Limit | The maximum number of records returned.Default: 100; Max: 100 |
Offset | The offset from 0 at which to start record retrieval.When used with "limit", the handler will return "limit" records starting at the n-th record, where n is the offset.Default: 0 |
Example Output
{
"metadata": {
"total_objects": 2
},
"stat": "OK",
"response": [
{
"desc": "This is group A",
"group_id": "DGXXXXXXXXXXXXXXXXXX",
"mobile_otp_enabled": false,
"name": "Group A",
"push_enabled": false,
"sms_enabled": false,
"status": "Active",
"voice_enabled": false
},
{
"desc": "This is group B",
"group_id": "DGXXXXXXXXXXXXXXXXXX",
"mobile_otp_enabled": false,
"name": "Group B (from Azure sync \"Acme Corp Azure AD\")"",
"push_enabled": false,
"sms_enabled": false,
"status": "Active",
"voice_enabled": false
}
],
}
Workflow Library Example
List Groups with Duo and Send Results Via Email
Preview this Workflow on desktop