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

# Updates the current authenticated user's profile information.



## OpenAPI

````yaml https://raw.githubusercontent.com/FooBarBizarre/docs/refs/heads/main/api-reference/openapi.json patch /me
openapi: 3.0.1
info:
  title: Maia Backend API
  version: v1
servers: []
security: []
paths:
  /me:
    patch:
      tags:
        - Me
      summary: Updates the current authenticated user's profile information.
      requestBody:
        description: The profile data to update (only non-null fields will be updated).
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMeDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateMeDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateMeDto'
      responses:
        '200':
          description: OK
        '204':
          description: Profile updated successfully.
        '404':
          description: Account or account portal relationship not found.
components:
  schemas:
    UpdateMeDto:
      type: object
      properties:
        account:
          $ref: '#/components/schemas/UpdateAccountDto'
        accountPortals:
          type: array
          items:
            $ref: '#/components/schemas/UpdateAccountPortalDto'
          nullable: true
      additionalProperties: false
    UpdateAccountDto:
      type: object
      properties:
        name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        phonenumber:
          type: string
          nullable: true
      additionalProperties: false
    UpdateAccountPortalDto:
      type: object
      properties:
        emailDailySummary:
          type: boolean
        portalId:
          type: integer
          format: int32
        accountId:
          type: integer
          format: int32
      additionalProperties: false

````