---
title: "Group"
url: "https://developers.vzconnect.com/apis/groups-hierarchy-api/versions/6301049c-0ba5-4584-a236-ea7417e150ff/schemas/Group"
---

> Full API specification: https://developers.vzconnect.com/apis/groups-hierarchy-api/versions/6301049c-0ba5-4584-a236-ea7417e150ff.md

# Group

Group metadata resource

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Groups Management API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    IdReadOnly:
      type: string
      description: Reference to an object in Reveal
      readOnly: true
      minLength: 1
      maxLength: 120
      pattern: ^[^\n]{1,120}$
    GroupName:
      type: string
      description: Name of the group
      minLength: 1
      maxLength: 32
      pattern: ^[\w\s\-\.&()]{1,32}$
    Link:
      title: Link
      description: Reference to another resource
      type: object
      additionalProperties: false
      required:
        - href
        - rel
      properties:
        href:
          description: URL of linked resource
          type: string
          format: uri-reference
          minLength: 1
          maxLength: 2000
          pattern: ^[^\n]+$
        rel:
          description: Meaning of the values described at IANA (self, next, prev, up).
          type: string
          minLength: 2
          maxLength: 10
          pattern: ^(self|next|prev|up)$
        method:
          description: HTTP method to interact with linked resource
          type: string
          minLength: 3
          maxLength: 6
          enum:
            - GET
    Group:
      title: Group
      description: Group metadata resource
      type: object
      additionalProperties: false
      required:
        - groupId
        - name
      properties:
        groupId:
          $ref: "#/components/schemas/IdReadOnly"
        name:
          $ref: "#/components/schemas/GroupName"
        parentGroup:
          type: object
          description: The primary (parent) group. Null for root groups.
          title: ParentGroup
          properties:
            groupId:
              $ref: "#/components/schemas/IdReadOnly"
            externalIds:
              type: array
              description: External identifiers of the primary group.
              minItems: 0
              maxItems: 1
              items:
                $ref: "#/components/schemas/IdReadOnly"
        externalIds:
          type: array
          description: Optional customer-owned external identifiers for the group.
          minItems: 0
          maxItems: 1
          items:
            $ref: "#/components/schemas/IdReadOnly"
        links:
          description: Related resources
          readOnly: true
          type: array
          uniqueItems: true
          minItems: 0
          maxItems: 100
          items:
            $ref: "#/components/schemas/Link"
```
