> ## 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.

# Update 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 patch /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:
    patch:
      tags:
        - SCIM
      summary: Update 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_partial_update
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedSCIMGroupModifyRequest'
            examples:
              RenameTheGroup:
                value:
                  schemas:
                    - urn:ietf:params:scim:api:messages:2.0:PatchOp
                  Operations:
                    - op: replace
                      path: displayName
                      value: 1879db59-3bdf-4490-ad68-ab880a269474updatedDisplayName
                summary: Rename the group
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedSCIMGroupModifyRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedSCIMGroupModifyRequest'
      responses:
        '200':
          content:
            application/scim+json:
              schema:
                $ref: '#/components/schemas/SCIMGroupCreateResponse'
          description: Modified group
        '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
        '404':
          content:
            application/scim+json:
              schema:
                $ref: '#/components/schemas/SCIMErrorResponse'
              examples:
                GroupNotFound:
                  value:
                    schemas:
                      - urn:ietf:params:scim:api:messages:2.0:Error
                    detail: Resource 123 not found
                    status: 404
                  summary: Group not found
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    PatchedSCIMGroupModifyRequest:
      type: object
      properties:
        schemas:
          type: array
          items:
            type: string
          default:
            - urn:ietf:params:scim:api:messages:2.0:PatchOp
        Operations:
          type: array
          items:
            $ref: '#/components/schemas/SCIMGroupModifyOperationRequest'
    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
    SCIMGroupModifyOperationRequest:
      type: object
      properties:
        op:
          $ref: '#/components/schemas/OpEnum'
        path:
          type: string
        value:
          type: string
      required:
        - op
        - path
        - value
    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
    OpEnum:
      enum:
        - add
        - remove
        - replace
      type: string
      description: |-
        * `add` - add
        * `remove` - remove
        * `replace` - replace
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````