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

# Update user profile

> Updates the profile information of the currently authenticated user. Allows modification of notification preferences and onboarding completion status.



## OpenAPI

````yaml patch /user/profile
openapi: 3.0.0
info:
  title: Cybedefend API
  description: >-
    CybeDefend is an advanced API for application security analysis. Key
    features include OAuth 2.0 authentication, user/organization/project
    management, and REBAC-based permissions. It excels in static, dynamic, and
    IaC security analyses (SAST, DAST, IaC, etc.).
  version: '1.0'
  contact: {}
servers:
  - url: https://api-eu.cybedefend.com
    description: EU
  - url: https://api-us.cybedefend.com
    description: US
security: []
tags: []
paths:
  /user/profile:
    patch:
      tags:
        - User
      summary: Update user profile
      description: >-
        Updates the profile information of the currently authenticated user.
        Allows modification of notification preferences and onboarding
        completion status.
      operationId: UserController_updateProfile
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserProfileBodyDto'
      responses:
        '200':
          description: User profile updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserUpdateResponseDto'
        '400':
          description: Bad Request - Invalid input data
        '401':
          description: Unauthorized - Invalid or missing authentication token
          content:
            application/json:
              schema:
                example:
                  message: Unauthorized
                  statusCode: 401
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
        '403':
          description: Forbidden - Insufficient permissions
          content:
            application/json:
              schema:
                example:
                  message: Forbidden
                  statusCode: 403
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
components:
  schemas:
    UpdateUserProfileBodyDto:
      type: object
      properties:
        notification:
          type: boolean
          description: Enable or disable notifications for the user
        isOnboardingCompleted:
          type: boolean
          description: Indicates whether onboarding is completed
    UserUpdateResponseDto:
      type: object
      properties:
        message:
          type: string
          description: Result message
        userId:
          type: string
          description: User unique identifier
          format: uuid
      required:
        - message
        - userId

````