@@ -2092,6 +2092,8 @@ paths:
20922092 email_address :
20932093 type : string
20942094 description : The email address to be added to the user.
2095+ required :
2096+ - email_address
20952097 responses :
20962098 ' 200 ' :
20972099 $ref : ' #/components/responses/Client.ClientWrappedEmailAddress'
@@ -2133,6 +2135,8 @@ paths:
21332135 code :
21342136 type : string
21352137 description : The code that was previously sent to the email address.
2138+ required :
2139+ - code
21362140 responses :
21372141 ' 200 ' :
21382142 $ref : ' #/components/responses/Client.ClientWrappedEmailAddress'
@@ -2188,6 +2192,8 @@ paths:
21882192 type : string
21892193 description : Used with `oauth_[provider]` and `saml` strategies.
21902194 nullable : true
2195+ required :
2196+ - strategy
21912197 responses :
21922198 ' 200 ' :
21932199 $ref : ' #/components/responses/Client.ClientWrappedEmailAddress'
@@ -2299,6 +2305,12 @@ paths:
22992305 phone_number :
23002306 type : string
23012307 description : The phone number to be added to the user.
2308+ reserved_for_second_factor :
2309+ type : boolean
2310+ description : Whether the phone number is reserved for multi-factor authentication.
2311+ nullable : true
2312+ required :
2313+ - phone_number
23022314 responses :
23032315 ' 200 ' :
23042316 $ref : ' #/components/responses/Client.ClientWrappedPhoneNumber'
@@ -2340,6 +2352,8 @@ paths:
23402352 code :
23412353 type : string
23422354 description : Strategy used to verify the phone number.
2355+ required :
2356+ - code
23432357 responses :
23442358 ' 200 ' :
23452359 $ref : ' #/components/responses/Client.ClientWrappedPhoneNumber'
@@ -2385,6 +2399,8 @@ paths:
23852399 description : Strategy used to verify the phone number.
23862400 enum :
23872401 - phone_code
2402+ required :
2403+ - strategy
23882404 responses :
23892405 ' 200 ' :
23902406 $ref : ' #/components/responses/Client.ClientWrappedPhoneNumber'
@@ -2538,13 +2554,11 @@ paths:
25382554 schema :
25392555 type : object
25402556 properties :
2541- strategy :
2542- type : string
2543- description : The strategy used to connect the external account.
2544- nullable : true
2545- redirect_url :
2557+ web3_wallet :
25462558 type : string
2547- nullable : true
2559+ description : The web3 wallet to be added to the user.
2560+ required :
2561+ - web3_wallet
25482562 responses :
25492563 ' 200 ' :
25502564 $ref : ' #/components/responses/Client.ClientWrappedWeb3Wallet'
@@ -2612,11 +2626,32 @@ paths:
26122626 - Web3 Wallets
26132627 parameters :
26142628 - in : path
2615- name : web3_wallet_id
26162629 required : true
2630+ name : web3_wallet_id
2631+ description : The web3 wallet ID.
26172632 schema :
26182633 type : string
2619- description : The web3 wallet ID
2634+ - in : header
2635+ name : Origin
2636+ description : The origin of the request.
2637+ schema :
2638+ type : string
2639+ requestBody :
2640+ content :
2641+ application/x-www-form-urlencoded :
2642+ schema :
2643+ type : object
2644+ properties :
2645+ strategy :
2646+ type : string
2647+ description : The strategy used to verify the web3 wallet.
2648+ pattern : ^web3_\w+_signature$
2649+ redirect_url :
2650+ type : string
2651+ description : The redirect URL to redirect the user to after verification.
2652+ nullable : true
2653+ required :
2654+ - strategy
26202655 responses :
26212656 ' 200 ' :
26222657 $ref : ' #/components/responses/Client.ClientWrappedWeb3Wallet'
@@ -2642,6 +2677,22 @@ paths:
26422677 schema :
26432678 type : string
26442679 description : The web3 wallet ID.
2680+ - in : header
2681+ name : Origin
2682+ description : The origin of the request.
2683+ schema :
2684+ type : string
2685+ requestBody :
2686+ content :
2687+ application/x-www-form-urlencoded :
2688+ schema :
2689+ type : object
2690+ properties :
2691+ signature :
2692+ type : string
2693+ description : The signature that was generated from your Web3 Wallet to sign the message
2694+ required :
2695+ - signature
26452696 responses :
26462697 ' 200 ' :
26472698 $ref : ' #/components/responses/Client.ClientWrappedWeb3Wallet'
@@ -3051,6 +3102,12 @@ paths:
30513102 tags :
30523103 - User
30533104 operationId : getUser
3105+ parameters :
3106+ - in : query
3107+ name : _clerk_session_id
3108+ description : The session_id associated with the requesting user.
3109+ schema :
3110+ type : string
30543111 responses :
30553112 ' 200 ' :
30563113 $ref : ' #/components/responses/Client.ClientWrappedUser'
@@ -3066,21 +3123,29 @@ paths:
30663123 tags :
30673124 - User
30683125 operationId : patchUser
3126+ parameters :
3127+ - in : query
3128+ name : _clerk_session_id
3129+ schema :
3130+ type : string
30693131 requestBody :
30703132 content :
30713133 application/x-www-form-urlencoded :
30723134 schema :
30733135 type : object
30743136 properties :
3075- username :
3076- nullable : true
3077- type : string
30783137 first_name :
30793138 nullable : true
30803139 type : string
30813140 last_name :
30823141 nullable : true
30833142 type : string
3143+ username :
3144+ nullable : true
3145+ type : string
3146+ password :
3147+ nullable : true
3148+ type : string
30843149 primary_email_address_id :
30853150 type : string
30863151 nullable : true
@@ -3090,10 +3155,22 @@ paths:
30903155 primary_web3_wallet_id :
30913156 nullable : true
30923157 type : string
3158+ public_metadata :
3159+ nullable : true
3160+ type : string
3161+ description : A stringified JSON containing the public metadata of the current user.
3162+ private_metadata :
3163+ nullable : true
3164+ type : string
3165+ description : A stringified JSON containing the private metadata of the current user.
30933166 unsafe_metadata :
30943167 nullable : true
30953168 type : string
3096- description : A stringified JSON containing the unsafe medata of the current user.
3169+ description : A stringified JSON containing the unsafe metadata of the current user.
3170+ profile_image_id :
3171+ nullable : true
3172+ type : string
3173+ description : The profile image ID of the current user.
30973174 responses :
30983175 ' 200 ' :
30993176 $ref : ' #/components/responses/Client.ClientWrappedUser'
@@ -3113,6 +3190,11 @@ paths:
31133190 tags :
31143191 - User
31153192 operationId : deleteUser
3193+ parameters :
3194+ - in : query
3195+ name : _clerk_session_id
3196+ schema :
3197+ type : string
31163198 responses :
31173199 ' 200 ' :
31183200 $ref : ' #/components/responses/Client.ClientWrappedDeletedObject'
@@ -3128,6 +3210,24 @@ paths:
31283210 post :
31293211 description : create a jwt for the requested user.
31303212 operationId : createServiceToken
3213+ tags :
3214+ - User
3215+ parameters :
3216+ - in : query
3217+ name : _clerk_session_id
3218+ description : The session_id associated with the requesting user.
3219+ schema :
3220+ type : string
3221+ requestBody :
3222+ content :
3223+ application/x-www-form-urlencoded :
3224+ schema :
3225+ type : object
3226+ properties :
3227+ service :
3228+ type : string
3229+ required :
3230+ - service
31313231 responses :
31323232 ' 200 ' :
31333233 $ref : ' #/components/responses/Token'
@@ -3141,9 +3241,15 @@ paths:
31413241 post :
31423242 summary : Update Profile Image
31433243 description : Update the current user's profile image.
3244+ operationId : updateProfileImage
31443245 tags :
31453246 - User
3146- operationId : updateProfileImage
3247+ parameters :
3248+ - in : query
3249+ name : _clerk_session_id
3250+ description : The session_id associated with the requesting user.
3251+ schema :
3252+ type : string
31473253 requestBody :
31483254 required : true
31493255 content :
@@ -3172,6 +3278,12 @@ paths:
31723278 operationId : deleteProfileImage
31733279 tags :
31743280 - User
3281+ parameters :
3282+ - in : query
3283+ name : _clerk_session_id
3284+ description : The session_id associated with the requesting user.
3285+ schema :
3286+ type : string
31753287 responses :
31763288 ' 200 ' :
31773289 $ref : ' #/components/responses/Client.ClientWrappedDeletedObject'
@@ -3186,6 +3298,12 @@ paths:
31863298 operationId : changePassword
31873299 tags :
31883300 - User
3301+ parameters :
3302+ - in : query
3303+ name : _clerk_session_id
3304+ description : The session_id associated with the requesting user.
3305+ schema :
3306+ type : string
31893307 requestBody :
31903308 content :
31913309 application/x-www-form-urlencoded :
@@ -3201,6 +3319,8 @@ paths:
32013319 sign_out_of_other_sessions :
32023320 type : boolean
32033321 nullable : true
3322+ required :
3323+ - new_password
32043324 responses :
32053325 ' 200 ' :
32063326 $ref : ' #/components/responses/Client.ClientWrappedUser'
@@ -3217,6 +3337,12 @@ paths:
32173337 operationId : removePassword
32183338 tags :
32193339 - User
3340+ parameters :
3341+ - in : query
3342+ name : _clerk_session_id
3343+ description : The session_id associated with the requesting user.
3344+ schema :
3345+ type : string
32203346 requestBody :
32213347 required : true
32223348 content :
@@ -3227,6 +3353,8 @@ paths:
32273353 properties :
32283354 current_password :
32293355 type : string
3356+ required :
3357+ - current_password
32303358 responses :
32313359 ' 200 ' :
32323360 $ref : ' #/components/responses/Client.ClientWrappedUser'
0 commit comments