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

# Update a folder.



## OpenAPI

````yaml /openapi/chat-client.yaml patch /folders/{id}
openapi: 3.0.3
info:
  version: 1.0.0
  title: HealviChat Client API
servers:
  - url: https://{tenant_domain}/third-party/v1
    variables:
      tenant_domain:
        default: your-tenant.onhealvi.com
        description: Your tenant domain
security:
  - bearerAuth: []
paths:
  /folders/{id}:
    patch:
      tags:
        - folders
      summary: Update a folder.
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Folder'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Folder'
components:
  schemas:
    Folder:
      description: |
        Folders are used to group conversations.
        A conversation can be assigned to an folder.
      type: object
      properties:
        id:
          type: integer
          description: Internal ID.
        title:
          description: Title of the folder.
          type: string
        unread_conversations_count:
          type: integer
          description: Number of conversation with at least one unread customer message.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````