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

# Update Profile

> Update current user's profile.

When display_name changes, recomputes display_name_slug via update_slug().



## OpenAPI

````yaml /openapi.json patch /v1/users/profile
openapi: 3.1.0
info:
  title: AgentPowers API
  description: Paid marketplace for Claude Code skills and agents
  version: 0.1.0
servers:
  - url: https://api.agentpowers.ai
    description: Production
security: []
paths:
  /v1/users/profile:
    patch:
      tags:
        - users
      summary: Update Profile
      description: >-
        Update current user's profile.


        When display_name changes, recomputes display_name_slug via
        update_slug().
      operationId: update_profile_v1_users_profile_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    ProfileUpdate:
      properties:
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        bio:
          anyOf:
            - type: string
              maxLength: 2000
            - type: 'null'
          title: Bio
        website_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Website Url
        github_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Github Url
        linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkedin Url
        twitter_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Twitter Url
      type: object
      title: ProfileUpdate
      description: Request body for profile updates.
    ProfileResponse:
      properties:
        id:
          type: string
          title: Id
        display_name_slug:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name Slug
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        email:
          type: string
          title: Email
        github_username:
          anyOf:
            - type: string
            - type: 'null'
          title: Github Username
        joined_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Joined At
        bio:
          anyOf:
            - type: string
            - type: 'null'
          title: Bio
        website_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Website Url
        github_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Github Url
        linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkedin Url
        twitter_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Twitter Url
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        account_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Status
        deletion_scheduled_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Deletion Scheduled At
      type: object
      required:
        - id
        - email
      title: ProfileResponse
      description: Response body for profile endpoints.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Provide a Clerk JWT or a long-lived CLI token (prefix `ap_cli_`).  Pass
        as `Authorization: Bearer <token>`.

````