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

# Update group



## OpenAPI

````yaml /spec.json put /client/groups/{id}
openapi: 3.0.4
info:
  title: Orbital API
  version: 1.0.0
servers:
  - url: https://api.orbital-systems.com
    description: Production
  - url: https://stage-api.orbital-systems.com
    description: Staging
  - url: https://dev-api.orbital-systems.com
    description: Development
security:
  - apiKeyAuth: []
tags: []
paths:
  /client/groups/{id}:
    put:
      tags:
        - Groups.
      summary: Update group
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
          description: The group ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/groupRequest'
      responses:
        '200':
          description: Group updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/groupResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                type: object
        '404':
          description: Group not found
          content:
            application/json:
              schema:
                type: object
        '500':
          description: Database error
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    groupRequest:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
        parent_id:
          type: string
          format: uuid
    groupResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        type:
          type: string
        parent_id:
          type: string
          format: uuid
        created_at:
          type: string
        updated_at:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````