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

# Update user preferences (shallow merge)



## OpenAPI

````yaml /openapi.yaml put /profile/preferences
openapi: 3.0.3
info:
  title: Hill90 API
  description: Hill90 platform API — agent management and lifecycle operations.
  version: 0.1.0
servers:
  - url: /
    description: Relative (behind Traefik reverse proxy)
security: []
paths:
  /profile/preferences:
    put:
      tags:
        - Profile
      summary: Update user preferences (shallow merge)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                theme:
                  type: string
                notifications_enabled:
                  type: boolean
                sidebar_collapsed:
                  type: boolean
      responses:
        '200':
          description: Merged preferences
          content:
            application/json:
              schema:
                type: object
                properties:
                  theme:
                    type: string
                  notifications_enabled:
                    type: boolean
                  sidebar_collapsed:
                    type: boolean
        '400':
          description: Invalid request body
        '401':
          description: Not authenticated
        '403':
          description: Requires user role
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````