> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lighton.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a group

> Automatic filtering on company defined in get_extra_model_filter_kwargs_getter()
We disable PUT as Microsoft does not need it



## OpenAPI

````yaml /api-reference/openapi-v2.yaml post /scim/v2/Groups
openapi: 3.0.3
info:
  title: Paradigm API
  version: xenial-xerus (v2)
  description: >-
    A versatile and adaptable tool designed to integrate Generative AI into your
    applications
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Models
    description: Operations about AI models
  - name: Files Search
    description: Operations about files search
  - name: Files
    description: Operations about files
  - name: Upload Sessions
    description: Operations about upload sessions
  - name: Workspaces
    description: Operations about workspaces
  - name: Users
    description: Operations about users
  - name: Companies
    description: Operations about companies
  - name: SCIM
    description: Operations about SCIM
  - name: Feedbacks
    description: Operations about feedbacks
  - name: Reporting
    description: Operations about reporting
  - name: Monitoring
    description: Operations about monitoring
  - name: Platform Status
    description: Operations about platform status
paths:
  /scim/v2/Groups:
    post:
      tags:
        - SCIM
      summary: Create a group
      description: >-
        Automatic filtering on company defined in
        get_extra_model_filter_kwargs_getter()

        We disable PUT as Microsoft does not need it
      operationId: scim_v2_Groups_create
      responses:
        '201':
          content:
            application/scim+json:
              schema:
                $ref: '#/components/schemas/SCIMGroupCreateResponse'
          description: Groups creation
        '401':
          content:
            application/scim+json:
              schema:
                $ref: '#/components/schemas/SCIMErrorResponse'
              examples:
                Unauthorized:
                  value:
                    schemas:
                      - urn:ietf:params:scim:api:messages:2.0:Error
                    detail: Unauthorized
                    status: 401
          description: Authentication required
      security:
        - bearerAuth: []
components:
  schemas:
    SCIMGroupCreateResponse:
      type: object
      properties:
        schemas:
          type: array
          items:
            type: string
          default:
            - urn:ietf:params:scim:schemas:core:2.0:Group
        id:
          type: string
          readOnly: true
        externalId:
          type: string
          readOnly: true
        meta:
          allOf:
            - $ref: '#/components/schemas/SCIMGroupCreateMetaResponse'
          readOnly: true
        displayName:
          type: string
        members:
          type: array
          items:
            $ref: '#/components/schemas/SCIMGroupMemberResponse'
      required:
        - displayName
        - externalId
        - id
        - members
        - meta
    SCIMErrorResponse:
      type: object
      properties:
        schemas:
          type: array
          items:
            type: string
          default:
            - urn:ietf:params:scim:api:messages:2.0:Error
        detail:
          type: string
        status:
          type: integer
      required:
        - detail
        - status
    SCIMGroupCreateMetaResponse:
      type: object
      properties:
        resourceType:
          type: string
          default: Group
        created:
          type: string
          format: date-time
        lastModified:
          type: string
          format: date-time
      required:
        - created
        - lastModified
    SCIMGroupMemberResponse:
      type: object
      properties:
        value:
          type: string
        display:
          type: string
      required:
        - display
        - value
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````