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

# Update user basic data

> Updates the full name and/or image of the authenticated mobile app user. The user's token is passed in the body.



## OpenAPI

````yaml api-reference/openapi.json post /update-user-basic-data
openapi: 3.0.0
info:
  title: Cati Main Server API
  version: 1.0.0
  description: >-
    API for managing Cati assistant users, app users, contacts, media,
    notifications and preferences.
servers:
  - url: /
security: []
paths:
  /update-user-basic-data:
    post:
      tags:
        - Authentication & Users
      summary: Update mobile app user's basic information
      description: >-
        Updates the full name and/or image of the authenticated mobile app user.
        The user's token is passed in the body.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserBasicDataRequest'
      responses:
        '200':
          description: User basic info updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
        '401':
          description: Invalid or expired token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Database or server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    UpdateUserBasicDataRequest:
      type: object
      required:
        - token
        - name
      properties:
        token:
          type: string
          description: JWT Access Token of the user.
          example: eyJ...
        name:
          type: string
          example: Updated Full Name
        image:
          type: string
          nullable: true
          example: http://example.com/new_image.jpg
    SuccessResponse:
      type: object
      properties:
        status:
          type: string
          example: success
        message:
          type: string
          example: Operation completed successfully
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          example: error
        message:
          type: string
          example: Database connection failed

````