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

# Actualizar el perfil comercial propio

> Sólo nombre comercial y firma. Un objeto vacío devuelve el perfil sin modificarlo; no cambia la identidad Atlas.



## OpenAPI

````yaml /generated/specs/auth.json patch /api/auth/users/me/profile
openapi: 3.0.0
info:
  title: Raul API - Acceso
  description: Autenticacion, sesiones, usuarios y seguridad base.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags:
  - name: Auth
    description: Autenticacion y gestion de usuarios
paths:
  /api/auth/users/me/profile:
    patch:
      tags:
        - Auth
      summary: Actualizar el perfil comercial propio
      description: >-
        Sólo nombre comercial y firma. Un objeto vacío devuelve el perfil sin
        modificarlo; no cambia la identidad Atlas.
      operationId: SelfProfileController_update
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSelfProfileDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateUserResponseDto'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateSelfProfileDto:
      type: object
      properties:
        nombre:
          type: string
          description: Nombre comercial de Raúl
          minLength: 2
          maxLength: 255
        email_signature_html:
          type: string
          description: Firma HTML comercial
          nullable: true
          maxLength: 50000
    UpdateUserResponseDto:
      type: object
      properties:
        id:
          type: string
          description: ID del usuario
        email:
          type: string
          description: Email del usuario
        nombre:
          type: string
          description: Nombre del usuario
        rol:
          type: string
          description: Rol del usuario
        activo:
          type: boolean
          description: Estado activo del usuario
        fecha_actualizacion:
          format: date-time
          type: string
          description: Fecha de actualización
        avatar_url:
          type: object
          description: URL del avatar del usuario
        email_signature_html:
          type: object
          description: Firma de email en HTML
      required:
        - id
        - email
        - nombre
        - rol
        - activo
        - fecha_actualizacion
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Token de sesión Better Auth para rutas de backoffice; las rutas de
        portal usan su token propio.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.