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

# Update Current User

> Update the authenticated Novacal user's profile, including username, email, name, avatar, timezone, week start, and time format.



## OpenAPI

````yaml PUT /v1/users/me
openapi: 3.1.0
info:
  title: Events API
  description: Public API for managing event types
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.novacal.io
security:
  - bearerAuth: []
paths:
  /v1/users/me:
    put:
      description: Updates information about the currently authenticated user
      requestBody:
        description: User data to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUser'
        required: true
      responses:
        '200':
          description: User updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
components:
  schemas:
    UpdateUser:
      required:
        - username
        - email
        - first_name
        - timezone
        - time_format
        - start_of_week
      type: object
      properties:
        username:
          description: >-
            The unique username for the user (must be unique across users and
            teams)
          type: string
          maxLength: 255
          pattern: ^[a-z0-9][a-z0-9\-\._]+[a-z0-9]$
        email:
          description: The user's email address (must be unique)
          type: string
          format: email
          maxLength: 255
        first_name:
          description: The user's first name
          type: string
          maxLength: 255
        last_name:
          description: The user's last name
          type: string
          maxLength: 255
        avatar:
          description: Avatar image file (jpeg, png, jpg, svg, max 1024 KB)
          type: string
          format: binary
        timezone:
          description: The user's timezone (e.g., America/New_York)
          type: string
        time_format:
          description: The user's preferred time format (12 or 24)
          type: integer
          enum:
            - 12
            - 24
        start_of_week:
          description: The day that starts the week (0 for Sunday, 1 for Monday)
          type: integer
          enum:
            - 0
            - 1
    UserResponse:
      type: object
      required:
        - success
        - data
      properties:
        success:
          description: Indicates whether the request was successful
          type: boolean
          example: true
        data:
          $ref: '#/components/schemas/User'
    User:
      type: object
      properties:
        id:
          description: The unique identifier of the user
          type: integer
          format: int64
        first_name:
          description: The user's first name
          type: string
        last_name:
          description: The user's last name
          type: string
        username:
          description: The unique username for the user
          type: string
        email:
          description: The user's email address
          type: string
          format: email
        timezone:
          description: The user's timezone
          type: string
        time_format:
          description: The user's preferred time format
          type: integer
          enum:
            - 12
            - 24
        start_of_week:
          description: The day that starts the week (0 for Sunday, 1 for Monday)
          type: integer
          enum:
            - 0
            - 1
        avatar:
          description: URL to the user's avatar image
          type:
            - string
            - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````