Authentication
Update User Profile
Update current user's profile information.
Supports updating profile fields like isFirstVisit. Automatically determines the Firebase service (yzfoto/avukatim) from the token. Works with all authentication providers (Firebase, Google, Apple).
Authorization: User can only update their own profile.
patch/api/v1/auth
Request
- Base URL: https://foto.damdafa.com/dreamhome
- URL: https://foto.damdafa.com/dreamhome/api/v1/auth
- Auth: HTTP bearer
Headers
ProviderId'firebase' | 'google' | 'apple'
X-Provider-Id'firebase' | 'google' | 'apple'
X-Device-Idstring nullable
Request body
Response
Successful Response
Example response
{
"message": "User profile updated successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.