{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}
{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}
{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}
Auth service
Update Profile
Updates the authenticated user’s profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.
{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}
{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}
{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}
Updates the authenticated user’s profile including avatar upload. Requires a valid Auth0 access token in the Authorization header.This endpoint supports both JSON and multipart/form-data content types:
JSON: For updating profile fields only
multipart/form-data: For uploading an avatar image along with profile updates
Request Body (JSON)
All fields are optional. Only include the fields you want to update.
Field
Type
Description
fullName
string
User’s display name (1-120 chars, trimmed)
preferences
object
UI preferences (merged with existing)
preferences.language
string
Language code (e.g., “en”, “hi”)
preferences.theme
string
Theme name (e.g., “dark”, “light”)
preferences.notifications
boolean
Enable/disable notifications
_clearAvatar
boolean
Set to true to remove the current avatar
Request Body (multipart/form-data)
For uploading an avatar image:
Field
Type
Description
avatar
file
Avatar image file (JPEG, PNG, GIF, WebP). Auto-compressed if >1MB.
data
string
JSON string with profile fields (fullName, preferences, _clearAvatar)
Auto-compression: Images larger than 1MB are automatically resized (max 800px) and compressed
No size limit error: Even large files are accepted and compressed server-side
Auto-deletion: Previous avatar is automatically deleted when uploading a new one
Notes
Field merging: Preferences are merged with existing values, not replaced entirely
Whitespace trimming: fullName is automatically trimmed
Cache invalidation: The profile context cache is invalidated when changes are saved
Authorizations
Authorization
string
header
required
Auth0 access token for registered users.
Body
application/jsonmultipart/form-data
Profile update fields. Use _clearAvatar: true to remove avatar, or upload avatar file via multipart/form-data.
fullName
string
User's display name
Maximum string length: 120
preferences
object
User preferences
Show child attributes
_clearAvatar
boolean
Set to true to remove the user's avatar
Response
Updated profile overview returned
success
enum<boolean>
required
Available options:
true
data
object
required
Show child attributes
meta
object
required
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Handa Uncle Platform","colors":{"primary":"#c2410c","light":"#fdba74","dark":"#ea580c"},"logo":{"light":"https://mintcdn.com/hijlilabs/DcNbifTSn9EZkUYR/logo/light.svg?fit=max\u0026auto=format\u0026n=DcNbifTSn9EZkUYR\u0026q=85\u0026s=bd18939393af20a436b0e2cd41546ccc","dark":"https://mintcdn.com/hijlilabs/DcNbifTSn9EZkUYR/logo/dark.svg?fit=max\u0026auto=format\u0026n=DcNbifTSn9EZkUYR\u0026q=85\u0026s=53e39929bbda00ebcfb98c1cc7df9c2f"},"favicon":"/favicon.svg","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"}},"navbar":{"links":[{"label":"Support","href":"mailto:hello@handauncle.com"}],"primary":{"type":"button","label":"Open App","href":"https://chat.handauncle.com"}},"footer":{"socials":{"x":"https://twitter.com/handauncle","github":"https://github.com/handauncle","linkedin":"https://www.linkedin.com/company/handauncle"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"]},"navigation":{"global":{"anchors":[{"anchor":"Handa Uncle","icon":"globe","href":"https://www.handauncle.com"},{"anchor":"Status","icon":"chart-mixed","href":"https://status.handauncle.com"},{"anchor":"Prod API Base URL","icon":"globe","href":"https://handauncle-backend-prod-205012263523.asia-south1.run.app"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hijlilabs","hasAudioNarration":false,"actualSubdomain":"hijlilabs","customDomains":["docs.handauncle.com"],"gitSource":{"type":"github","owner":"handauncle","repo":"-deprecated-handauncle-backend-new","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10c7559ffae5051c4077bb"},"entitlements":{},"buildId":"6ae942d24b6956dad9eee2fb:success","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API reference","count":72},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"Auth service","count":12},{"language":"default","tag":"Conversations","count":9},{"language":"default","tag":"Chat Share","count":8},{"language":"default","tag":"Visual Embeds","count":8},{"language":"default","tag":"Mobile app","count":7},{"language":"default","tag":"Second Opinion","count":7},{"language":"default","tag":"Codebase","count":7},{"language":"default","tag":"Prompt management","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/auth/update-me","slug":"/api-reference/auth/update-me","pageMetadata":{"title":"Update Profile","openapi":"PATCH /api/v1/auth/me","description":"Updates the authenticated user's profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.","href":"/api-reference/auth/update-me"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates the authenticated user’s profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Updates the authenticated user’s profile including avatar upload. Requires a valid Auth0 access token in the `,_jsx(_components.code,{children:`Authorization`}),` header.`]}),`\n`,_jsx(_components.p,{children:`This endpoint supports both JSON and multipart/form-data content types:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`JSON`}),`: For updating profile fields only`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`multipart/form-data`}),`: For uploading an avatar image along with profile updates`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body-json`,children:`Request Body (JSON)`}),`\n`,_jsx(_components.p,{children:`All fields are optional. Only include the fields you want to update.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fullName`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`User’s display name (1-120 chars, trimmed)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preferences`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`UI preferences (merged with existing)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preferences.language`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Language code (e.g., “en”, “hi”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preferences.theme`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Theme name (e.g., “dark”, “light”)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`preferences.notifications`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`Enable/disable notifications`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`_clearAvatar`})}),_jsx(_components.td,{children:`boolean`}),_jsxs(_components.td,{children:[`Set to `,_jsx(_components.code,{children:`true`}),` to remove the current avatar`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body-multipart/form-data`,children:`Request Body (multipart/form-data)`}),`\n`,_jsx(_components.p,{children:`For uploading an avatar image:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`avatar`})}),_jsx(_components.td,{children:`file`}),_jsx(_components.td,{children:`Avatar image file (JPEG, PNG, GIF, WebP). Auto-compressed if >1MB.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`JSON string with profile fields (fullName, preferences, _clearAvatar)`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-json-request`,children:`Example: JSON Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.handauncle.com/api/v1/auth/me`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003caccess-token>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fullName\": \"Puneet Sharma\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"preferences\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"theme\": \"dark\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notifications\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-upload-avatar`,children:`Example: Upload Avatar`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.handauncle.com/api/v1/auth/me`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003caccess-token>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"avatar=@/path/to/photo.jpg\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -F`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'data={\"fullName\": \"Puneet Sharma\"}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-clear-avatar`,children:`Example: Clear Avatar`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.handauncle.com/api/v1/auth/me`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer \u003caccess-token>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"_clearAvatar\": true}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the updated profile overview (same format as `,_jsx(_components.code,{children:`GET /api/v1/auth/me`}),`):`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"683b7e9f465b1b4e6753627a4f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"investor@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fullName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Puneet Sharma\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"avatarUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.googleapis.com/...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"preferences\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"language\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"theme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"dark\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"notifications\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profileContext\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`avatar-upload-details`,children:`Avatar Upload Details`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Supported formats`}),`: JPEG, PNG, GIF, WebP`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Auto-compression`}),`: Images larger than 1MB are automatically resized (max 800px) and compressed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No size limit error`}),`: Even large files are accepted and compressed server-side`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Auto-deletion`}),`: Previous avatar is automatically deleted when uploading a new one`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Field merging`}),`: Preferences are merged with existing values, not replaced entirely`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Whitespace trimming`}),`: `,_jsx(_components.code,{children:`fullName`}),` is automatically trimmed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Cache invalidation`}),`: The profile context cache is invalidated when changes are saved`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Profile","openapi":"PATCH /api/v1/auth/me","description":"Updates the authenticated user's profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.","href":"/api-reference/auth/update-me"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request Body (JSON)","slug":"request-body-json","depth":2,"children":[]},{"title":"Request Body (multipart/form-data)","slug":"request-body-multipart/form-data","depth":2,"children":[]},{"title":"Example: JSON Request","slug":"example-json-request","depth":2,"children":[]},{"title":"Example: Upload Avatar","slug":"example-upload-avatar","depth":2,"children":[]},{"title":"Example: Clear Avatar","slug":"example-clear-avatar","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Avatar Upload Details","slug":"avatar-upload-details","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Auth"],"operationId":"updateAuthMe","summary":"Update current user profile","description":"Updates the authenticated user's profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.","security":["8ba95b23-5517-4d67-80af-2ccff9dbd0ef"],"requestBody":"4a4baed6-2c94-4bc3-aff9-e3bf37451c53","responses":{"200":"0f359891-cb73-47d3-add2-28ae76014984","400":"44d19df7-ec5a-46a5-bac1-66540c2346cd","401":"deaf638d-4088-47e0-b0e7-3438ebb951ca","500":"8c33ef2c-8beb-4780-866a-237ed685694e"},"method":"patch","type":"path","servers":["5622216f-c30d-4dba-85a5-57b014314175","bff5e472-5d0b-4a4a-9ca0-1e863b6dc700","e5417b44-7454-48b6-9fba-1d25f15ebca3","2235fc76-7020-4dfe-b799-4c0c823d049b"],"path":"/api/v1/auth/me","baseUrlOptions":["https://handauncle-backend-prod-205012263523.asia-south1.run.app","https://api.handauncle.com","https://staging-api.handauncle.com","http://localhost:8080"],"title":"Update current user profile","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","description":"Profile update fields. Use _clearAvatar: true to remove avatar, or upload avatar file via multipart/form-data.","properties":{"fullName":{"type":"string","maxLength":120,"description":"User's display name","uniqueKey":"fullName","typeLabel":"string"},"preferences":{"type":"object","description":"User preferences","properties":{"language":{"type":"string","maxLength":20,"uniqueKey":"preferences.language","typeLabel":"string"},"theme":{"type":"string","maxLength":20,"uniqueKey":"preferences.theme","typeLabel":"string"},"notifications":{"type":"boolean","uniqueKey":"preferences.notifications","typeLabel":"boolean"}},"uniqueKey":"preferences","typeLabel":"object"},"_clearAvatar":{"type":"boolean","description":"Set to true to remove the user's avatar","uniqueKey":"_clearAvatar","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"fullName":"\u003cstring>","preferences":{"language":"\u003cstring>","theme":"\u003cstring>","notifications":true},"_clearAvatar":true}}},"exampleType":"generated"},"multipart/form-data":{"schema":{"type":"object","properties":{"avatar":{"type":"string","format":"binary","description":"Avatar image file (JPEG, PNG, GIF, WebP). Auto-compressed if >1MB.","uniqueKey":"avatar","typeLabel":"file"},"data":{"type":"string","description":"JSON string with profile fields: { full_name?, preferences?, _clearAvatar? }","uniqueKey":"data","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"avatar":"\u003cstring>","data":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0f359891-cb73-47d3-add2-28ae76014984":{"description":"Updated profile overview returned","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.user.id","typeLabel":"string"},"fullName":{"type":"string","isRequired":true,"uniqueKey":"data.user.fullName","typeLabel":"string"},"accountStatus":{"type":"string","enum":["active","suspended","deleted"],"isRequired":true,"uniqueKey":"data.user.accountStatus","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.user.createdAt","typeLabel":"string\u003cdate-time>"},"email":{"oneOf":[{"type":"string","format":"email","uniqueKey":"data.user.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","uniqueKey":"data.user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.email","typeLabel":"string\u003cemail> | null"},"phoneNumber":{"oneOf":[{"type":"string","uniqueKey":"data.user.phoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.user.phoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.phoneNumber","typeLabel":"string | null"},"avatarUrl":{"oneOf":[{"type":"string","format":"uri","uniqueKey":"data.user.avatarUrl.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","uniqueKey":"data.user.avatarUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.avatarUrl","typeLabel":"string\u003curi> | null"},"authProvider":{"oneOf":[{"type":"string","uniqueKey":"data.user.authProvider.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.user.authProvider.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.authProvider","typeLabel":"string | null"},"preferences":{"type":"object","properties":{"language":{"type":"string","uniqueKey":"data.user.preferences.language","typeLabel":"string"},"theme":{"type":"string","uniqueKey":"data.user.preferences.theme","typeLabel":"string"},"notifications":{"type":"boolean","uniqueKey":"data.user.preferences.notifications","typeLabel":"boolean"}},"uniqueKey":"data.user.preferences","typeLabel":"object"},"deviceId":{"oneOf":[{"type":"string","uniqueKey":"data.user.deviceId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.user.deviceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.deviceId","typeLabel":"string | null"},"platform":{"oneOf":[{"type":"string","enum":["android","ios","web"],"uniqueKey":"data.user.platform.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["android","ios","web"],"uniqueKey":"data.user.platform.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.platform","typeLabel":"enum\u003cstring> | null"},"phoneVerified":{"oneOf":[{"type":"boolean","uniqueKey":"data.user.phoneVerified.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.user.phoneVerified.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.phoneVerified","typeLabel":"boolean | null"},"emailVerified":{"oneOf":[{"type":"boolean","uniqueKey":"data.user.emailVerified.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.user.emailVerified.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.emailVerified","typeLabel":"boolean | null"},"last_login_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.user.last_login_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.user.last_login_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user.last_login_at","typeLabel":"string\u003cdate-time> | null"}},"required":["id","fullName","accountStatus","createdAt"],"isRequired":true,"uniqueKey":"data.user","typeLabel":"object"},"usage":{"type":"object","properties":{"conversations":{"type":"object","properties":{"total":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.conversations.total","typeLabel":"integer"},"active":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.conversations.active","typeLabel":"integer"},"archived":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.conversations.archived","typeLabel":"integer"},"deleted":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.conversations.deleted","typeLabel":"integer"},"lastActiveAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.usage.conversations.lastActiveAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.usage.conversations.lastActiveAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.usage.conversations.lastActiveAt","typeLabel":"string\u003cdate-time> | null"}},"required":["total","active","archived","deleted"],"isRequired":true,"uniqueKey":"data.usage.conversations","typeLabel":"object"},"shares":{"type":"object","properties":{"total":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.shares.total","typeLabel":"integer"},"active":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.shares.active","typeLabel":"integer"},"expired":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.shares.expired","typeLabel":"integer"},"revoked":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.shares.revoked","typeLabel":"integer"},"totalViews":{"type":"integer","isRequired":true,"uniqueKey":"data.usage.shares.totalViews","typeLabel":"integer"},"lastSharedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.usage.shares.lastSharedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.usage.shares.lastSharedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.usage.shares.lastSharedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["total","active","expired","revoked","totalViews"],"isRequired":true,"uniqueKey":"data.usage.shares","typeLabel":"object"}},"required":["conversations","shares"],"isRequired":true,"uniqueKey":"data.usage","typeLabel":"object"},"profileContext":{"type":"object","properties":{"static":{"type":"array","items":{"type":"string","uniqueKey":"data.profileContext.static.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.profileContext.static","typeLabel":"string[]"},"recent":{"type":"array","items":{"type":"string","uniqueKey":"data.profileContext.recent.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.profileContext.recent","typeLabel":"string[]"},"frequent":{"type":"array","items":{"type":"string","uniqueKey":"data.profileContext.frequent.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.profileContext.frequent","typeLabel":"string[]"}},"required":["static","recent","frequent"],"isRequired":true,"uniqueKey":"data.profileContext","typeLabel":"object"}},"required":["user","usage","profileContext"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"meta":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"type":"string","description":"Server generated correlation identifier.","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","data","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"user":{"id":"\u003cstring>","fullName":"\u003cstring>","accountStatus":"active","createdAt":"2023-11-07T05:31:56Z","email":"jsmith@example.com","phoneNumber":"\u003cstring>","avatarUrl":"\u003cstring>","authProvider":"\u003cstring>","preferences":{"language":"\u003cstring>","theme":"\u003cstring>","notifications":true},"deviceId":"\u003cstring>","platform":"android","phoneVerified":true,"emailVerified":true,"last_login_at":"2023-11-07T05:31:56Z"},"usage":{"conversations":{"total":123,"active":123,"archived":123,"deleted":123,"lastActiveAt":"2023-11-07T05:31:56Z"},"shares":{"total":123,"active":123,"expired":123,"revoked":123,"totalViews":123,"lastSharedAt":"2023-11-07T05:31:56Z"}},"profileContext":{"static":["\u003cstring>"],"recent":["\u003cstring>"],"frequent":["\u003cstring>"]}},"meta":{"timestamp":"2023-11-07T05:31:56Z","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"44d19df7-ec5a-46a5-bac1-66540c2346cd":{"description":"The request payload or headers were invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message describing the issue.","example":"Please enter a valid 10-digit phone number (e.g., 9876543210)","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling.","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","description":"Array of field-specific validation errors (for VALIDATION_ERROR responses).","items":{"type":"object","properties":{"field":{"type":"string","description":"Field name that failed validation.","example":"phone","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Specific validation error message for this field.","example":"Please enter a valid 10-digit phone number (e.g., 9876543210)","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","message"],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"required":["message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"type":"string","description":"Server generated correlation identifier.","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"message":"Please enter a valid 10-digit phone number (e.g., 9876543210)","code":"VALIDATION_ERROR","details":[{"field":"phone","message":"Please enter a valid 10-digit phone number (e.g., 9876543210)"}]},"meta":{"timestamp":"2023-11-07T05:31:56Z","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"deaf638d-4088-47e0-b0e7-3438ebb951ca":{"description":"Authentication failed or is missing.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message describing the issue.","example":"Please enter a valid 10-digit phone number (e.g., 9876543210)","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling.","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","description":"Array of field-specific validation errors (for VALIDATION_ERROR responses).","items":{"type":"object","properties":{"field":{"type":"string","description":"Field name that failed validation.","example":"phone","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Specific validation error message for this field.","example":"Please enter a valid 10-digit phone number (e.g., 9876543210)","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","message"],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"required":["message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"type":"string","description":"Server generated correlation identifier.","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"message":"Please enter a valid 10-digit phone number (e.g., 9876543210)","code":"VALIDATION_ERROR","details":[{"field":"phone","message":"Please enter a valid 10-digit phone number (e.g., 9876543210)"}]},"meta":{"timestamp":"2023-11-07T05:31:56Z","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8c33ef2c-8beb-4780-866a-237ed685694e":{"description":"Unexpected server error.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message describing the issue.","example":"Please enter a valid 10-digit phone number (e.g., 9876543210)","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Error code for programmatic handling.","example":"VALIDATION_ERROR","uniqueKey":"error.code","typeLabel":"string"},"details":{"type":"array","description":"Array of field-specific validation errors (for VALIDATION_ERROR responses).","items":{"type":"object","properties":{"field":{"type":"string","description":"Field name that failed validation.","example":"phone","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","description":"Specific validation error message for this field.","example":"Please enter a valid 10-digit phone number (e.g., 9876543210)","isRequired":true,"uniqueKey":"error.details.items.[INDEX].message","typeLabel":"string"}},"required":["field","message"],"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"required":["message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"meta":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"type":"string","description":"Server generated correlation identifier.","isRequired":true,"uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp","requestId"],"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["success","error","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"message":"Please enter a valid 10-digit phone number (e.g., 9876543210)","code":"VALIDATION_ERROR","details":[{"field":"phone","message":"Please enter a valid 10-digit phone number (e.g., 9876543210)"}]},"meta":{"timestamp":"2023-11-07T05:31:56Z","requestId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8ba95b23-5517-4d67-80af-2ccff9dbd0ef":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token for registered users.","scopes":[]}}},"servers":{"5622216f-c30d-4dba-85a5-57b014314175":{"url":"https://handauncle-backend-prod-205012263523.asia-south1.run.app","description":"Prod API base (Cloud Run)"},"bff5e472-5d0b-4a4a-9ca0-1e863b6dc700":{"url":"https://api.handauncle.com","description":"Production"},"e5417b44-7454-48b6-9fba-1d25f15ebca3":{"url":"https://staging-api.handauncle.com","description":"Staging"},"2235fc76-7020-4dfe-b799-4c0c823d049b":{"url":"http://localhost:8080","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Auth0 access token for registered users.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Auth0 access token for registered users.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"hijlilabs","siteName":"Handa Uncle Platform","title":"Update Profile - Handa Uncle Platform","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-11T09:39:07.190Z","originalFileLocation":"api-reference/auth/update-me.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates the authenticated user\u0026#x27;s profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Handa Uncle Platform\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Profile - Handa Uncle Platform\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the authenticated user\u0026#x27;s profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Handa Uncle Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.handauncle.com/api-reference/auth/update-me\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hijlilabs.mintlify.site/_mintlify/api/og/v2?division=Auth+service\u0026amp;title=Update+Profile\u0026amp;description=Updates+the+authenticated+user%27s+profile.+Supports+both+JSON+and+multipart%2Fform-data.+Use+multipart%2Fform-data+to+upload+an+avatar+image+along+with+profile+updat\u0026amp;theme=b3b8baabf3084bcb827feeee\u0026amp;signature=36e8226f2762b75bb1694cfa6fd8a80579f8e27e17068815949b9f2c84eca7d5\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Profile - Handa Uncle Platform\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the authenticated user\u0026#x27;s profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hijlilabs.mintlify.site/_mintlify/api/og/v2?division=Auth+service\u0026amp;title=Update+Profile\u0026amp;description=Updates+the+authenticated+user%27s+profile.+Supports+both+JSON+and+multipart%2Fform-data.+Use+multipart%2Fform-data+to+upload+an+avatar+image+along+with+profile+updat\u0026amp;theme=b3b8baabf3084bcb827feeee\u0026amp;signature=36e8226f2762b75bb1694cfa6fd8a80579f8e27e17068815949b9f2c84eca7d5\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/hijlilabs/xs1gQBPRHqKW2uUb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Handa Uncle Platform\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c2410c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.handauncle.com/api-reference/auth/update-me\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/auth/update-me.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.handauncle.com/#organization\",\"name\":\"Handa Uncle Platform\",\"url\":\"https://docs.handauncle.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hijlilabs/DcNbifTSn9EZkUYR/logo/light.svg?fit=max\u0026auto=format\u0026n=DcNbifTSn9EZkUYR\u0026q=85\u0026s=bd18939393af20a436b0e2cd41546ccc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.handauncle.com#website\",\"name\":\"Handa Uncle Platform\",\"url\":\"https://docs.handauncle.com\",\"publisher\":{\"@id\":\"https://docs.handauncle.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.handauncle.com/api-reference/auth/update-me#webpage\",\"url\":\"https://docs.handauncle.com/api-reference/auth/update-me\",\"name\":\"Update Profile\",\"description\":\"Updates the authenticated user's profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.\",\"dateModified\":\"2025-12-11T09:39:07.190Z\",\"isPartOf\":{\"@id\":\"https://docs.handauncle.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.handauncle.com/api-reference/auth/update-me#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.handauncle.com/api-reference/auth/update-me#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Auth service\",\"item\":\"https://docs.handauncle.com/api-reference/auth\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Profile\",\"item\":\"https://docs.handauncle.com/api-reference/auth/update-me\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.handauncle.com/api-reference/auth/update-me#apireference\",\"headline\":\"Update Profile\",\"name\":\"Update Profile\",\"description\":\"Updates the authenticated user's profile. Supports both JSON and multipart/form-data. Use multipart/form-data to upload an avatar image along with profile updates. Images larger than 1MB are automatically compressed. Use _clearAvatar: true to remove the avatar.\",\"url\":\"https://docs.handauncle.com/api-reference/auth/update-me\",\"mainEntityOfPage\":{\"@id\":\"https://docs.handauncle.com/api-reference/auth/update-me#webpage\"},\"dateModified\":\"2025-12-11T09:39:07.190Z\",\"publisher\":{\"@id\":\"https://docs.handauncle.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.handauncle.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Handa Uncle Platform\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Handa Uncle Platform\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/auth/update-me.md","siteName":"Handa Uncle Platform","nav":{"global":{"anchors":[{"anchor":"Handa Uncle","icon":"globe","href":"https://www.handauncle.com"},{"anchor":"Status","icon":"chart-mixed","href":"https://status.handauncle.com"},{"anchor":"Prod API Base URL","icon":"globe","href":"https://handauncle-backend-prod-205012263523.asia-south1.run.app"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Handa Uncle API","href":"/api-reference/introduction"}]},{"group":"Auth service","pages":[{"title":"Auth API","href":"/api-reference/auth"},{"title":"Google OAuth (Token Exchange)","openapi":"POST /api/v1/auth/google","href":"/api-reference/auth/google-token"},{"title":"Refresh Access Token","openapi":"POST /api/v1/auth/refresh","href":"/api-reference/auth/refresh"},{"title":"Sign Out","openapi":"POST /api/v1/auth/signout","href":"/api-reference/auth/signout"},{"title":"Current User Profile","openapi":"GET /api/v1/auth/me","description":"Returns the complete user profile overview including user data, usage statistics (conversations, shares), and profile context (static, recent, frequent cues). Auto-creates user if not exists.","href":"/api-reference/auth/me"},{"title":"Update Profile","openapi":"PATCH /api/v1/auth/me","href":"/api-reference/auth/update-me"},{"title":"Auth Service Health","openapi":"GET /api/v1/auth/health","description":null,"href":"/api-reference/auth/health"},{"title":"Send OTP","openapi":"POST /api/v1/auth/send-otp","href":"/api-reference/auth/send-otp"},{"title":"Resend OTP","openapi":"POST /api/v1/auth/resend-otp","href":"/api-reference/auth/resend-otp"},{"title":"Verify OTP","openapi":"POST /api/v1/auth/verify-otp","href":"/api-reference/auth/verify-otp"},{"title":"Post-Registration Webhook","openapi":"POST /api/v1/auth/webhooks/post-registration","href":"/api-reference/auth/webhook-post-registration"},{"title":"Post-Login Webhook (Legacy)","openapi":"POST /api/v1/auth/post-login","href":"/api-reference/auth/webhook-post-login"}]},{"group":"AI service","pages":[{"title":"AI Chat API","href":"/api-reference/ai"},{"title":"Send Chat Message","openapi":"POST /api/v1/ai/chat","href":"/api-reference/ai/chat"},{"title":"AI Service Health","openapi":"GET /api/v1/ai/health","href":"/api-reference/ai/health"}]},{"group":"Prompt management","pages":[{"title":"PrePrompt Management","href":"/api-reference/preprompts"},{"title":"Create PrePrompt","openapi":"POST /api/v1/preprompts","href":"/api-reference/preprompts/create"},{"title":"List PrePrompts","openapi":"GET /api/v1/preprompts","href":"/api-reference/preprompts/list"},{"title":"Update PrePrompt","openapi":"PUT /api/v1/preprompts/{id}","href":"/api-reference/preprompts/update"},{"title":"Delete PrePrompt","openapi":"DELETE /api/v1/preprompts/{id}","href":"/api-reference/preprompts/delete"},{"title":"List Public PrePrompts","openapi":"GET /api/v1/public/preprompts","href":"/api-reference/preprompts/public"}]},{"group":"Mobile app","pages":[{"title":"App Launch","openapi":"GET /app/launch","href":"/api-reference/endpoint/app-launch"},{"title":"App Service Health","openapi":"GET /app/health","href":"/api-reference/endpoint/app-health"},{"title":"App Configuration","openapi":"GET /app/config","href":"/api-reference/endpoint/app-config"},{"title":"Get System URLs","openapi":"GET /app/config/system-urls","href":"/api-reference/endpoint/app-config-system-urls"},{"title":"Get Social Media URLs","openapi":"GET /app/config/social-media-urls","href":"/api-reference/endpoint/app-config-social-urls"},{"title":"Update System URLs","openapi":"PATCH /app/config/system-urls","href":"/api-reference/endpoint/app-config-update-system-urls"},{"title":"Update Social Media URLs","openapi":"PATCH /app/config/social-media-urls","href":"/api-reference/endpoint/app-config-update-social-urls"}]},{"group":"Platform","pages":[{"title":"Platform Health","openapi":"GET /api/v1/health","href":"/api-reference/endpoint/platform-health"}]},{"group":"Conversations","pages":[{"title":"Conversations API","href":"/api-reference/conversations"},{"title":"List Conversations","openapi":"GET /api/v1/user/conversations","href":"/api-reference/conversations/list"},{"title":"Get Conversation Details","openapi":"GET /api/v1/user/conversations/{conversationId}","href":"/api-reference/conversations/details"},{"title":"List Messages in Conversation","openapi":"GET /api/v1/user/conversations/{conversationId}/messages","href":"/api-reference/conversations/messages"},{"title":"Submit Message Feedback","openapi":"POST /api/v1/user/messages/{messageId}/feedback","href":"/api-reference/conversations/message-feedback"},{"title":"Update Conversation","openapi":"PATCH /api/v1/user/conversations/{conversationId}","href":"/api-reference/conversations/update"},{"title":"Archive Conversation","openapi":"POST /api/v1/user/conversations/{conversationId}/archive","href":"/api-reference/conversations/archive"},{"title":"Restore Conversation","openapi":"POST /api/v1/user/conversations/{conversationId}/restore","href":"/api-reference/conversations/restore"},{"title":"Delete Conversation","openapi":"DELETE /api/v1/user/conversations/{conversationId}","href":"/api-reference/conversations/delete"}]},{"group":"Chat Share","pages":[{"title":"Chat Share API","href":"/api-reference/chat-share"},{"title":"Create Share Link","openapi":"POST /api/v1/share","href":"/api-reference/chat-share/create"},{"title":"List Share Links","openapi":"GET /api/v1/share/list","href":"/api-reference/chat-share/list"},{"title":"Update Share","openapi":"PATCH /api/v1/share/{shareId}","href":"/api-reference/chat-share/update"},{"title":"Revoke Share","openapi":"DELETE /api/v1/share/{shareId}","href":"/api-reference/chat-share/revoke"},{"title":"Share Analytics","openapi":"GET /api/v1/share/{shareId}/analytics","href":"/api-reference/chat-share/analytics"},{"title":"View Shared Conversation","openapi":"GET /api/v1/public/share/{shareId}","href":"/api-reference/chat-share/view"},{"title":"Continue Shared Conversation","openapi":"POST /api/v1/public/share/{shareId}/continue","href":"/api-reference/chat-share/continue"}]},{"group":"Files","pages":[{"title":"File Upload API","href":"/api-reference/files"},{"title":"Upload File","openapi":"POST /api/v1/files/upload","href":"/api-reference/files/upload"},{"title":"List Files","openapi":"GET /api/v1/files","href":"/api-reference/files/list"},{"title":"Get File Metadata","openapi":"GET /api/v1/files/{fileId}","href":"/api-reference/files/get"},{"title":"Delete File","openapi":"DELETE /api/v1/files/{fileId}","href":"/api-reference/files/delete"}]},{"group":"User Profile","pages":[{"title":"User Profile API","href":"/api-reference/user-profile"},{"title":"Get User Profile","openapi":"GET /api/v1/user-profile","href":"/api-reference/user-profile/get"},{"title":"Save Profile Answers","openapi":"POST /api/v1/user-profile/answers","href":"/api-reference/user-profile/save-answers"},{"title":"Start Profile Session","openapi":"POST /api/v1/user-profile/session","href":"/api-reference/user-profile/start-session"},{"title":"Get Current Cards","openapi":"GET /api/v1/user-profile/cards","href":"/api-reference/user-profile/get-cards"}]},{"group":"Visual Embeds","pages":[{"title":"Visual Embeds API","href":"/api-reference/visual-embeds"},{"title":"List Visual Embeds","openapi":"GET /api/v1/visual-embeds","href":"/api-reference/visual-embeds/list"},{"title":"Create Visual Embed","openapi":"POST /api/v1/visual-embeds","href":"/api-reference/visual-embeds/create"},{"title":"Bulk Create Visual Embeds","openapi":"POST /api/v1/visual-embeds/bulk","href":"/api-reference/visual-embeds/bulk-create"},{"title":"Get Visual Embed","openapi":"GET /api/v1/visual-embeds/{id}","href":"/api-reference/visual-embeds/get"},{"title":"Update Visual Embed","openapi":"PATCH /api/v1/visual-embeds/{id}","href":"/api-reference/visual-embeds/update"},{"title":"Delete Visual Embed","openapi":"DELETE /api/v1/visual-embeds/{id}","href":"/api-reference/visual-embeds/delete"},{"title":"List Categories","openapi":"GET /api/v1/visual-embeds/categories","href":"/api-reference/visual-embeds/categories"}]},{"group":"Second Opinion","pages":[{"title":"Second Opinion PrePrompts","href":"/api-reference/second-opinion-preprompts"},{"title":"Create Preprompt (Admin)","openapi":"POST /api/v1/second-opinion/preprompts","href":"/api-reference/second-opinion/create"},{"title":"List Preprompts (Admin)","openapi":"GET /api/v1/second-opinion/preprompts","href":"/api-reference/second-opinion/list"},{"title":"Get Preprompt (Admin)","openapi":"GET /api/v1/second-opinion/preprompts/{id}","href":"/api-reference/second-opinion/get"},{"title":"Update Preprompt (Admin)","openapi":"PUT /api/v1/second-opinion/preprompts/{id}","href":"/api-reference/second-opinion/update"},{"title":"Delete Preprompt (Admin)","openapi":"DELETE /api/v1/second-opinion/preprompts/{id}","href":"/api-reference/second-opinion/delete"},{"title":"Get Public Catalog","openapi":"GET /api/v1/public/second-opinion/preprompts","href":"/api-reference/second-opinion/public"}]}]}]},"basePath":"","title":"Update Profile - Handa Uncle Platform","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}