> ## Documentation Index
> Fetch the complete documentation index at: https://claimsdesk-871aefc7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Updates an existing User.



## OpenAPI

````yaml PUT /api/v1/Users/{id}
openapi: 3.0.4
info:
  title: ClaimsDesk API v1.0
  description: Core claims engine and workflow endpoints.
  version: '1.0'
servers:
  - url: http://claimsdesk.runasp.net
    description: Production / Demo Server
security:
  - AppId: []
    ApiKey: []
tags:
  - name: Users
    x-group: User Management
    description: Manage platform users, roles, branches, and approvals.
  - name: Roles
    x-group: Access Control
    description: System roles.
  - name: Permissions
    x-group: Access Control
    description: Platform feature permissions and privileges.
  - name: RolePermissions
    x-group: Access Control
    description: Mapping permissions to user roles.
  - name: Organizations
    x-group: Tenant & Organization
    description: Manage corporate clients and tenant organizations.
  - name: Branches
    x-group: Tenant & Organization
    description: Branch offices and location entities.
  - name: Customers
    x-group: Policyholders & Members
    description: Primary customer profiles and policyholder details.
  - name: Members
    x-group: Policyholders & Members
    description: Covered members, beneficiaries, and dependents.
  - name: Policies
    x-group: Insurance Policies
    description: Core policy lifecycle, terms, coverage limits, and entitlement checks.
  - name: PolicyContributions
    x-group: Insurance Policies
    description: Policy premium payments, contributions, and transaction receipts.
  - name: Subscriptions
    x-group: Subscriptions & Licensing
    description: Tenant subscription plans and billing tiers.
  - name: LicensePools
    x-group: Subscriptions & Licensing
    description: Organizational license allocations and capacity quotas.
  - name: UserLicenses
    x-group: Subscriptions & Licensing
    description: Direct assignment of user seats and activation keys.
  - name: ApiKeys
    x-group: Developer & Security
    description: Tenant integration keys and machine-to-machine authentication tokens.
  - name: AuditTrails
    x-group: Developer & Security
    description: System audit logs, event tracing, and compliance trails.
  - name: Reports
    x-group: Analytics & Reporting
    description: Reporting engine, live preview calculation, and file export (PDF/Excel).
paths:
  /api/v1/Users/{id}:
    put:
      tags:
        - Users
      summary: Updates an existing User.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserDto'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateUserDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateUserDto'
      responses:
        '200':
          description: OK
components:
  schemas:
    UpdateUserDto:
      type: object
      properties:
        fullName:
          type: string
          nullable: true
        username:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        phoneNumber:
          type: string
          nullable: true
        gender:
          type: string
          nullable: true
        receiveNotifications:
          type: boolean
        branchId:
          type: integer
          format: int32
        roleId:
          type: integer
          format: int32
        approvalLimit:
          type: number
          format: double
        isActive:
          type: boolean
      additionalProperties: false
  securitySchemes:
    AppId:
      type: apiKey
      description: App ID authentication. Enter your App ID below.
      name: X-App-Id
      in: header
    ApiKey:
      type: apiKey
      description: API Key authentication. Enter your key below.
      name: X-Api-Key
      in: header

````

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