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

# Update your profile



## OpenAPI

````yaml /api-reference/openapi.personal.json patch /v1/users/me
openapi: 3.1.0
info:
  title: Personal token API
  description: User-scoped API for account and organization management.
  version: 0.1.0
servers:
  - url: https://api.microsandbox.dev
security:
  - bearer: []
paths:
  /v1/users/me:
    patch:
      tags:
        - Account
      summary: Update your profile
      operationId: update_me
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMeRequest'
        required: true
      responses:
        '200':
          description: Profile updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          description: Unauthorized
      security:
        - bearer: []
components:
  schemas:
    UpdateMeRequest:
      type: object
      description: PATCH /v1/users/me
      properties:
        avatar_url:
          type:
            - string
            - 'null'
        display_name:
          type:
            - string
            - 'null'
    User:
      type: object
      description: Registered user profile.
      required:
        - id
        - email
        - email_verified
        - status
        - created_at
        - updated_at
      properties:
        avatar_url:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        display_name:
          type:
            - string
            - 'null'
        email:
          type: string
        email_verified:
          type: boolean
        id:
          type: string
          format: uuid
        status:
          $ref: '#/components/schemas/UserStatus'
        updated_at:
          type: string
          format: date-time
    UserStatus:
      type: string
      description: User account status.
      enum:
        - active
        - suspended
        - pending_verification
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: >-
        Personal access token (msb_pat_…) or session JWT - the credential an
        agent acts with on a user's behalf.

````