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

# Patch Me

> Update the current user's own profile.

Allowed fields: name, avatar_url, timezone, locale.
Only non-None values are applied (partial update).



## OpenAPI

````yaml /openapi.json patch /v1/users/me
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/users/me:
    patch:
      tags:
        - users
      summary: Patch Me
      description: |-
        Update the current user's own profile.

        Allowed fields: name, avatar_url, timezone, locale.
        Only non-None values are applied (partial update).
      operationId: patch_me_v1_users_me_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchMeRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__routers__users__UserOut'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    PatchMeRequest:
      properties:
        avatar_url:
          anyOf:
            - maxLength: 2048
              type: string
            - type: 'null'
          title: Avatar Url
        locale:
          anyOf:
            - maxLength: 20
              type: string
            - type: 'null'
          title: Locale
        name:
          anyOf:
            - maxLength: 200
              minLength: 1
              type: string
            - type: 'null'
          title: Name
        timezone:
          anyOf:
            - maxLength: 100
              type: string
            - type: 'null'
          title: Timezone
      title: PatchMeRequest
      type: object
    app__routers__users__UserOut:
      properties:
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        email:
          title: Email
          type: string
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
        id:
          title: Id
          type: string
        locale:
          default: en
          title: Locale
          type: string
        membership_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Membership Id
        name:
          title: Name
          type: string
        role:
          anyOf:
            - type: string
            - type: 'null'
          title: Role
        timezone:
          default: UTC
          title: Timezone
          type: string
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
      required:
        - id
        - email
        - name
      title: UserOut
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````