---
updatedAt: 2026-08-29T02:45:31.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/platform-api/llms.txt
---

# Get a device group by ID

Retrieves a single device group by its ID.

**Required Permissions:** `device-groups:read`

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Security Cloud Devices API",
    "description": "API for accessing Security Cloud device information",
    "version": "1.0.0",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement/",
    "contact": {
      "name": "Jamf Developer",
      "url": "https://developer.jamf.com"
    }
  },
  "paths": {
    "/v1/groups/{groupId}": {
      "get": {
        "tags": [
          "device-groups"
        ],
        "summary": "Get a device group by ID",
        "description": "Retrieves a single device group by its ID.\n\n**Required Permissions:** `device-groups:read`",
        "operationId": "getGroup",
        "parameters": [
          {
            "$ref": "#/components/parameters/X-Tenant-Id"
          },
          {
            "$ref": "#/components/parameters/X-Environment-Id"
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "description": "Unique identifier of the group to retrieve",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Group found successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Group"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized - authentication required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden - insufficient permissions",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Group not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "device-groups:read"
            ]
          }
        ],
        "x-required-privileges": [
          "device-groups:read"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Group": {
        "type": "object",
        "description": "Represents a device group in Security Cloud.",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique group identifier",
            "example": "550e8400-e29b-41d4-a716-446655440000"
          },
          "name": {
            "type": "string",
            "description": "Display name of the group",
            "minLength": 1,
            "maxLength": 255,
            "example": "Engineering Devices"
          }
        }
      },
      "ApiError": {
        "type": "object",
        "description": "Standard Jamf API error response.",
        "required": [
          "httpStatus",
          "traceId",
          "errors"
        ],
        "properties": {
          "httpStatus": {
            "type": "integer",
            "description": "HTTP status of the response",
            "minimum": 400,
            "maximum": 599,
            "example": 400
          },
          "traceId": {
            "type": "string",
            "description": "Trace ID for debugging purposes",
            "example": "ecf2ca07e23c0abc12393472f2b783df"
          },
          "errors": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/ApiErrorItem"
            }
          }
        }
      },
      "ApiErrorItem": {
        "type": "object",
        "description": "A single error cause within an API error response.",
        "required": [
          "code",
          "field",
          "description"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Error-specific code for localization",
            "minLength": 1,
            "example": "INVALID_FIELD"
          },
          "field": {
            "type": "string",
            "description": "Name of the field that caused the error",
            "minLength": 1,
            "example": "name"
          },
          "description": {
            "type": "string",
            "description": "General description of the error for troubleshooting",
            "minLength": 1,
            "example": "The field is invalid"
          }
        }
      }
    },
    "parameters": {
      "X-Tenant-Id": {
        "name": "X-Tenant-Id",
        "in": "header",
        "required": false,
        "description": "The tenant UUID identifier. Send it to address tenant scope. This API is also published at environment scope — send that scope's header instead. Send exactly one scope header per request.",
        "schema": {
          "type": "string",
          "format": "uuid",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "example": "e77c1408-10c8-4007-b177-abc9157fbcaa"
        }
      },
      "X-Environment-Id": {
        "name": "X-Environment-Id",
        "in": "header",
        "required": false,
        "description": "The environment UUID identifier. Send it to address environment scope. This API is also published at tenant scope — send that scope's header instead. Send exactly one scope header per request.",
        "schema": {
          "type": "string",
          "format": "uuid",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "example": "e77c1408-10c8-4007-b177-abc9157fbcaa"
        }
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "Obtain an access token by calling the API Gateway's token endpoint using the OAuth2 client-credentials flow.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{region}.api.jamfcloud.com/auth/token",
            "scopes": {
              "device-groups:create": "",
              "device-groups:delete": "",
              "device-groups:read": "",
              "device-groups:update": ""
            }
          }
        }
      }
    }
  },
  "x-scope-types": [
    "tenant",
    "environment"
  ],
  "servers": [
    {
      "url": "https://{region}.api.jamfcloud.com/securitycloud",
      "description": "Jamf Beta API Gateway - prod",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "us",
            "eu",
            "apac"
          ],
          "description": "Geographic deployment region"
        }
      }
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ]
}
```