Retrieve a list of all groups available in MDM

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Get the group details List

Endpoints

Request URL

https://{server-hostname}:8383/api/v1/mdm/groups

Scope

MDMDeviceMgmt.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/jsonapplication/jsonCopied!

- Query Parameters

limitintegerOptional

Maximum number of records to return in a single response. Used together with offset for pagination

skip-tokenstringOptional
offsetintegerOptional

Zero-based index of the first record to return. Used together with limit for pagination

delta-tokenstringOptional
group_typestringOptional

Filter groups by type. Allowed values: 6=Device Group, 7=User Group, 11=Tag Group. Supports comma-separated multiple values

searchstringOptional

Free-text search string applied to the default searchable fields of the resource

select_allbooleanOptional

When true, applies the operation to every record matching the current filter rather than to specific IDs. Default: false

scopeGroupOnlybooleanOptional
summarybooleanOptional

When true, returns only a lightweight summary projection of the resource instead of full details. Default: false

group_categorystringOptional

Filter groups by category. Allowed values: 1=Static, 2=Dynamic. Supports comma-separated values

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url 'https://appdomain/api/v1/mdm/groups?limit=SOME_INTEGER_VALUE&skip-token=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&delta-token=SOME_STRING_VALUE&group_type=SOME_STRING_VALUE&search=SOME_STRING_VALUE&select_all=SOME_BOOLEAN_VALUE&scopeGroupOnly=SOME_BOOLEAN_VALUE&summary=SOME_BOOLEAN_VALUE&group_category=SOME_STRING_VALUE' \
  --header 'Accept: application/json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
metadataJSON Object

Metadata about the group list response

Show Sub-Attributes
total_record_countstring

Total number of groups returned for the current filter set

dynamic_group_countstring

Number of dynamic groups in the matching result set

groupsJSON Array

Array of group objects

Show Sub-Attributes
JSON Object
Show Sub-Attributes
group_idstring

Unique identifier of the group

group_namestring

Name of the group

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

List of all groups available in MDM

Copied!
  {
    "metadata": {
      "total_record_count": "2",
      "dynamic_group_count": "0"
    },
    "groups": [
      {
        "created_time": "1776667045100",
        "group_category": "1",
        "group_id": "9504000000015547",
        "domain": "MDM",
        "customerid": "9504000000015029",
        "name": "weqr",
        "group_ids": [],
        "description": "--",
        "group_type": "6"
      },
      {
        "created_time": "1777360641286",
        "group_category": "1",
        "group_id": "9504000000015609",
        "domain": "MDM",
        "customerid": "9504000000015029",
        "name": "user group",
        "group_ids": [],
        "description": "--",
        "group_type": "7"
      }
    ]
  }
                
Show full

No groups found

Copied!
  {
    "metadata": {
      "total_record_count": "0",
      "dynamic_group_count": "0"
    },
    "groups": []
  }
                
Show full

Duration: 1 minute | Threshold: 120 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.