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

# Update a content group



## OpenAPI

````yaml /openapi/phrase-control-hub.json put /api/v1/public/groups/{groupId}
openapi: 3.0.0
info:
  version: 1.0.22
  title: Control Hub Service
  license:
    name: Proprietary
servers:
  - url: https://eu.phrase.com/control-hub/
security: []
tags:
  - name: Groups
    x-displayName: Content Groups
    description: |
      Organisation-scoped generic content groups and their object references.
  - name: Groups references
    x-displayName: Content Group References
    description: >
      Endpoints for managing content group–object references and performing
      reverse lookups.
paths:
  /api/v1/public/groups/{groupId}:
    put:
      tags:
        - Groups
      summary: Update a content group
      operationId: updateGroup
      parameters:
        - name: groupId
          in: path
          required: true
          description: Content group identifier
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateGroupRequest'
      responses:
        '200':
          description: Content group updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '422':
          $ref: '#/components/responses/422'
        '500':
          $ref: '#/components/responses/500'
components:
  schemas:
    UpdateGroupRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          description: >-
            Content group name (not required to be unique within the
            organization)
          minLength: 1
        description:
          type: string
          description: Optional free-text description
    Group:
      type: object
      required:
        - id
        - name
        - createdAt
        - updatedAt
        - groupType
      properties:
        id:
          type: string
          description: Unique identifier of the content group
        name:
          type: string
          description: >-
            Content group name (not required to be unique within the
            organization)
        description:
          type: string
          description: Optional free-text description
        createdAt:
          type: string
          description: When the content group was created — timestamp (ISO-8601 format)
        updatedAt:
          type: string
          description: >-
            When the content group was last updated — timestamp (ISO-8601
            format)
        groupType:
          $ref: '#/components/schemas/GroupType'
    GroupType:
      type: string
      description: >
        Whether the group is customer-created (USER) or a platform-managed
        system group (SYSTEM).

        Every organization has exactly one SYSTEM group, representing "applies
        to all content

        groups." SYSTEM groups are created automatically and cannot be created,
        updated, or

        deleted via the API — only USER groups can. Server-determined, never
        accepted on

        create/update requests.
      enum:
        - SYSTEM
        - USER
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          title: Error code
          example: NotBlank/NotFound/Error/...
          type: string
        message:
          title: Error message
          example: Organization UID cannot be null
          type: string
        args:
          title: >-
            Map of error arguments - so they are not needed to be parsed from
            the message
          type: object
          additionalProperties: true
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorEntry'
          description: list of errors this error consist of
    ErrorEntry:
      required:
        - code
        - message
      properties:
        message:
          type: string
          description: Error message
        code:
          type: string
          description: Error code
        args:
          type: object
          additionalProperties: true
          description: More information about error
  responses:
    '400':
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '403':
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '404':
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '422':
      description: Validation of the input data failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '500':
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.