[{"data":1,"prerenderedAt":112},["ShallowReactive",2],{"docs-\u002Fapi\u002Fuser":3},{"id":4,"title":5,"body":6,"description":104,"extension":105,"meta":106,"navigation":107,"path":108,"seo":109,"stem":110,"__hash__":111},"docs\u002Fdocs\u002Fapi\u002Fuser.md","User API",{"type":7,"value":8,"toc":97},"minimark",[9,13,21,61,67],[10,11,5],"h1",{"id":12},"user-api",[14,15,17],"h3",{"id":16},"patch-apiuserprofile",[18,19,20],"code",{},"PATCH \u002Fapi\u002Fuser\u002Fprofile",[22,23,24,28,31,38,45,56],"ul",{},[25,26,27],"li",{},"Purpose: Partial update of the user profile.",[25,29,30],{},"Auth: Clerk session.",[25,32,33,34,37],{},"Request shape: Profile patch body (Zod schema in ",[18,35,36],{},"userSchemas",").",[25,39,40,41,44],{},"Response shape: ",[18,42,43],{},"{ ok }"," or updated profile model.",[25,46,47,48,51,52,55],{},"Key errors: ",[18,49,50],{},"400"," validation, ",[18,53,54],{},"401",".",[25,57,58,59,55],{},"Example: ",[18,60,20],{},[14,62,64],{"id":63},"post-apiuserchange-password",[18,65,66],{},"POST \u002Fapi\u002Fuser\u002Fchange-password",[22,68,69,72,74,77,81,93],{},[25,70,71],{},"Purpose: Change password for the authenticated user.",[25,73,30],{},[25,75,76],{},"Request shape: Current\u002Fnew password payload.",[25,78,40,79,55],{},[18,80,43],{},[25,82,47,83,85,86,88,89,92],{},[18,84,50],{}," invalid payload, ",[18,87,54],{},", ",[18,90,91],{},"403"," policy.",[25,94,58,95,55],{},[18,96,66],{},{"title":98,"searchDepth":99,"depth":99,"links":100},"",2,[101,103],{"id":16,"depth":102,"text":20},3,{"id":63,"depth":102,"text":66},"Authenticated account profile and credential management endpoints.","md",{},true,"\u002Fdocs\u002Fapi\u002Fuser",{"title":5,"description":104},"docs\u002Fapi\u002Fuser","YNC9-la2sS5r5zpnQaZNPPH2flBWY8q16yWS9e143Ds",1777579477593]