---
updatedAt: 2026-02-12T21:01:17.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/jamf-pro/v11.14.0/llms.txt
---

# Finds user groups by name

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "11.12.0",
    "title": "Classic API",
    "license": {
      "name": "Jamf API License Agreement",
      "url": "https://developer.jamf.com/developer-guide/docs/api-license-agreement"
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "swift",
      "ruby",
      "python"
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/usergroups/name/{name}": {
      "get": {
        "tags": [
          "usergroups"
        ],
        "summary": "Finds user groups by name",
        "operationId": "findUserGroupsByName",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "description": "Name to filter by",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/user_group"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/user_group"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-si-base": "swagger.yaml",
  "x-github-repo": "jamf/Classic-API-Swagger-Specification",
  "x-github-sha": "070fac498a589aaa0958641a68e4065584fc244a",
  "servers": [
    {
      "url": "https://yourServer.jamfcloud.com/JSSResource"
    }
  ],
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "size": {
        "type": "integer",
        "example": 1
      },
      "site_object": {
        "type": "object",
        "xml": {
          "name": "site"
        },
        "properties": {
          "id": {
            "type": "integer",
            "default": -1
          },
          "name": {
            "type": "string",
            "example": "None",
            "description": "Name of the site"
          }
        },
        "required": [
          "name"
        ]
      },
      "user_group": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "name": {
            "type": "string",
            "example": "Teachers",
            "description": "Name of the user group"
          },
          "is_smart": {
            "type": "boolean"
          },
          "is_notify_on_change": {
            "type": "boolean"
          },
          "site": {
            "$ref": "#/components/schemas/site_object"
          },
          "criteria": {
            "type": "array",
            "items": {
              "properties": {
                "size": {
                  "$ref": "#/components/schemas/size"
                },
                "criterion": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Email Address",
                      "description": "Name of the criteria"
                    },
                    "priority": {
                      "type": "integer"
                    },
                    "and_or": {
                      "type": "string",
                      "enum": [
                        "and",
                        "or"
                      ]
                    },
                    "search_type": {
                      "type": "string",
                      "example": "like",
                      "description": "Operator"
                    },
                    "value": {
                      "type": "string",
                      "example": "company.com"
                    },
                    "opening_paren": {
                      "type": "boolean",
                      "default": false
                    },
                    "closing_paren": {
                      "type": "boolean",
                      "default": false
                    }
                  }
                }
              }
            }
          },
          "users": {
            "type": "array",
            "items": {
              "properties": {
                "size": {
                  "$ref": "#/components/schemas/size"
                },
                "user": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 1
                    },
                    "username": {
                      "type": "string",
                      "example": "AHarrison"
                    },
                    "full_name": {
                      "type": "string",
                      "example": "Ashley Harrison"
                    },
                    "phone_number": {
                      "type": "string",
                      "example": "123-555-6789"
                    },
                    "email_address": {
                      "type": "string",
                      "example": "aharrison@company.com"
                    }
                  }
                }
              }
            }
          }
        },
        "required": [
          "name",
          "is_smart"
        ]
      }
    }
  }
}
```