authentication
Authentication

Update Profile

Update current user profile.

Args: request: Profile update data current_user: Current authenticated user session: Database session

Returns: Updated user

Raises: HTTPException: If update fails

patch/api/v1/auth/me

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/auth/me
  • Auth: none declared

Headers

Authorizationstring

Request body

first_namestring nullable
last_namestring nullable
emailstring email nullable
phonestring nullable
timezonestring nullable
company_namestring nullable
notify_product_newslettersboolean nullable
notify_billing_alertsboolean nullable

Response

Successful Response

idinteger required
emailstring required
first_namestring nullable
last_namestring nullable
full_namestring nullable
company_idinteger required
rolestring nullable
is_activeboolean nullable
is_lockedboolean nullable
is_superuserboolean nullable
is_allowlistedboolean nullable
company_namestring nullable
phonestring nullable
timezonestring nullable
clerk_user_idstring nullable
created_atstring nullable
updated_atstring nullable
notify_product_newslettersboolean
notify_billing_alertsboolean
onboarding_completedboolean
is_impersonationboolean nullable
impersonated_byinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.