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

# Update user layout settings



## OpenAPI

````yaml post /profile/change-layout
openapi: 3.0.0
info:
  title: ClearTalk API
  description: The ClearTalk API Documentation
  version: '1.0'
  contact:
    name: Developer Support
    email: devsupport@cleartalk.ai
servers:
  - url: https://api.cleartalk.ai
    description: ClearTalk AI API Server
security: []
tags: []
paths:
  /profile/change-layout:
    post:
      tags:
        - profile
      summary: Update user layout settings
      operationId: ProfileController_changeLayout
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateLayoutDto'
      responses:
        '200':
          description: Layout settings updated successfully
        '400':
          description: Bad Request
      security:
        - apiKey: []
components:
  schemas:
    UpdateLayoutDto:
      type: object
      properties:
        layout:
          type: string
          example: vertical
          description: Main layout type
        layout_mode:
          type: string
          example: light
          description: Layout mode (light/dark)
        layout_width:
          type: string
          example: fluid
          description: Layout width
        layout_position:
          type: string
          example: fixed
          description: Layout position
        topbar_type:
          type: string
          example: light
          description: Topbar type
        sidebar_size:
          type: string
          example: lg
          description: Sidebar size
        sidebar_color:
          type: string
          example: light
          description: Sidebar color
        direction:
          type: string
          example: ltr
          description: Layout direction
      required:
        - layout
        - layout_mode
        - layout_width
        - layout_position
        - topbar_type
        - sidebar_size
        - sidebar_color
        - direction
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````