---
title: "Fetches the group schema"
method: GET
path: "/api/v1/meta/schemas/group/default"
tags: ["GroupSchema"]
---

# Fetches the group schema

`GET /api/v1/meta/schemas/group/default`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/meta/schemas/group/default`
- Auth: API key in header `Authorization`

Fetches the group schema

## Response `200`

successful operation

- GroupSchema
  - `$schema` string
  - `_links` object
  - `created` string
  - `definitions` GroupSchemaDefinitions
    - `base` GroupSchemaBase
      - `id` string
      - `properties` GroupSchemaBaseProperties
        - `description` GroupSchemaAttribute
          - `description` string
          - `enum` string[]
          - `externalName` string
          - `externalNamespace` string
          - `items` UserSchemaAttributeItems
            - `enum` string[]
            - `oneOf` UserSchemaAttributeEnum[]
              - …
            - `type` string
          - `master` UserSchemaAttributeMaster
            - `priority` UserSchemaAttributeMasterPriority[]
              - …
            - `type` 'PROFILE_MASTER' | 'OKTA' | 'OVERRIDE'
          - `maxLength` integer
          - `minLength` integer
          - `mutability` string
          - `oneOf` UserSchemaAttributeEnum[]
            - `const` string
            - `title` string
          - `permissions` UserSchemaAttributePermission[]
            - `action` string
            - `principal` string
          - `required` boolean
          - `scope` UserSchemaAttributeScope
          - `title` string
          - `type` 'string' | 'boolean' | 'number' | 'integer' | 'array'
          - `union` UserSchemaAttributeUnion
          - `unique` string
        - `name` GroupSchemaAttribute
          - `description` string
          - `enum` string[]
          - `externalName` string
          - `externalNamespace` string
          - `items` UserSchemaAttributeItems
            - `enum` string[]
            - `oneOf` UserSchemaAttributeEnum[]
              - …
            - `type` string
          - `master` UserSchemaAttributeMaster
            - `priority` UserSchemaAttributeMasterPriority[]
              - …
            - `type` 'PROFILE_MASTER' | 'OKTA' | 'OVERRIDE'
          - `maxLength` integer
          - `minLength` integer
          - `mutability` string
          - `oneOf` UserSchemaAttributeEnum[]
            - `const` string
            - `title` string
          - `permissions` UserSchemaAttributePermission[]
            - `action` string
            - `principal` string
          - `required` boolean
          - `scope` UserSchemaAttributeScope
          - `title` string
          - `type` 'string' | 'boolean' | 'number' | 'integer' | 'array'
          - `union` UserSchemaAttributeUnion
          - `unique` string
      - `required` string[]
      - `type` string
    - `custom` GroupSchemaCustom
      - `id` string
      - `properties` object
      - `required` string[]
      - `type` string
  - `description` string
  - `id` string
  - `lastUpdated` string
  - `name` string
  - `properties` UserSchemaProperties
    - `profile` UserSchemaPropertiesProfile
      - `allOf` UserSchemaPropertiesProfileItem[]
        - `$ref` string
  - `title` string
  - `type` string

---

[API](https://skmtc.dev/okta/apis/okta-api.md) - [All operations](https://skmtc.dev/okta/apis/okta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/okta/apis/okta-api/revisions/7e5249c30571?raw)
