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

# Update a user

> Updates profile information for an existing user.



## OpenAPI

````yaml patch /v1/users/{id}
openapi: 3.0.0
info:
  title: Revstack API
  version: 1.0.0
  description: >-
    Open Source Billing OS for Developers. The scalable, developer-first billing
    engine with subscriptions, invoicing, usage metering, and entitlements.
servers:
  - url: http://localhost:6900
    description: Revstack API (Local Development)
security: []
paths:
  /v1/users/{id}:
    patch:
      tags:
        - Users
      summary: Update a user
      description: Updates profile information for an existing user.
      parameters:
        - schema:
            type: string
            example: usr_abc123
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                role:
                  type: string
                isActive:
                  type: boolean
                metadata:
                  type: object
                  additionalProperties:
                    nullable: true
      responses:
        '200':
          description: User updated
          content:
            application/json:
              schema:
                nullable: true

````